Skip to content

Commit

Permalink
fixing message text of NotFoundError
Browse files Browse the repository at this point in the history
  • Loading branch information
skudriavtsev committed Nov 11, 2022
1 parent e9b608a commit 0632f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type NotFoundError struct {
}

func (e *NotFoundError) Error() string {
return "not found"
return e.msg
}

func NewNotFoundError(msg string) *NotFoundError {
Expand Down

0 comments on commit 0632f4c

Please sign in to comment.