Error cleanup

This commit is contained in:
jdl
2026-06-13 14:51:51 +02:00
parent 76fce15e32
commit 867b3b5949
2 changed files with 16 additions and 4 deletions

View File

@@ -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.")