Skip to content

Commit

Permalink
Tweak error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Apr 14, 2022
1 parent 2140f4d commit b6c58bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var (
ErrValueTypeMismatch = errors.New("Value does not match indicated type")
ErrIndexNotFound = errors.New("No index found for given ID")
ErrDocumentNotFound = errors.New("No document for the given key exists")
ErrInvalidUpdateTarget = errors.New("The document update target is an unknown type")
ErrInvalidUpdater = errors.New("The doc updater is an unknown type")
ErrInvalidDeleteTarget = errors.New("The doc delete targeter is an unknown type")
ErrInvalidUpdateTarget = errors.New("The target document to update is of invalid type")
ErrInvalidUpdater = errors.New("The updater of a document is of invalid type")
ErrInvalidDeleteTarget = errors.New("The target document to delete is of invalid type")
)

0 comments on commit b6c58bf

Please sign in to comment.