Error cleanup
This commit is contained in:
@@ -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