errs.go 650 B

1234567891011121314151617
  1. package nnet
  2. import (
  3. "errors"
  4. )
  5. var (
  6. ErrExistsAlready = errors.New("item already exists")
  7. ErrNotExists = errors.New("item not exists")
  8. ErrConnectionReject = errors.New("connection rejected by logic")
  9. ErrConnClosing = errors.New("use of closed network connection")
  10. ErrWriteBlocking = errors.New("write packet was blocking")
  11. ErrReadBlocking = errors.New("read packet was blocking")
  12. ErrEmptySlice = errors.New("the slice is empty")
  13. ErrSliceOutOfRange = errors.New("the slice is out of range")
  14. ErrBufferSizeInsufficient = errors.New("buffer size is too small")
  15. )