Error cleanup
This commit is contained in:
1 parent
76fce15e32
commit
867b3b5949
2 files changed
+16
-4
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ func (e *Error) Error() string {
|
||||
var (
|
||||
ErrUnexpected = Internal.WithMsg("Unexpected internal error.")
|
||||
ErrNotFound = NotFound.WithMsg("Not found.")
|
||||
ErrAlreadyExists = Conflict.WithMsg("AlreadyExists.")
|
||||
ErrAlreadyExists = Conflict.WithMsg("Already exists.")
|
||||
|
||||
// Validation errors.
|
||||
ErrInvalidIP = BadRequest.WithMsg("Invalid IP.")
|
||||
|
||||
Reference in new issue
Block a user