Error cleanup

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

No files matched your search

+1 -1
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.")