Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…mments#error-strings (#49)

Co-authored-by: Bogdan Novikov <[email protected]>
  • Loading branch information
Bogdaan and Bogdan Novikov authored Aug 4, 2022
1 parent 9e174b8 commit 2d4f0da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions domain/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import "errors"

var (
// ErrInternalServerError will throw if any the Internal Server Error happen
ErrInternalServerError = errors.New("Internal Server Error")
ErrInternalServerError = errors.New("internal Server Error")
// ErrNotFound will throw if the requested item is not exists
ErrNotFound = errors.New("Your requested Item is not found")
ErrNotFound = errors.New("your requested Item is not found")
// ErrConflict will throw if the current action already exists
ErrConflict = errors.New("Your Item already exist")
ErrConflict = errors.New("your Item already exist")
// ErrBadParamInput will throw if the given request-body or params is not valid
ErrBadParamInput = errors.New("Given Param is not valid")
ErrBadParamInput = errors.New("given Param is not valid")
)

0 comments on commit 2d4f0da

Please sign in to comment.