errors.go 526 B

123456789101112131415
  1. package dao
  2. import "errors"
  3. //ErrNoDocument the requested document was not found in the backend
  4. var ErrNoDocument = errors.New("Document not found")
  5. //ErrUniqueIndexError there is a unique index violation
  6. var ErrUniqueIndexError = errors.New("Unique index error")
  7. //ErrNotImplemented the desired feature/function/method is not implemented
  8. var ErrNotImplemented = errors.New("Not implemented")
  9. //ErrUnknownError i don't know what this error is about
  10. var ErrUnknownError = errors.New("Unknown server error")