feat(errs): add internal server error

Co-authored-by: Gaze <gazenw@users.noreply.github.com>
This commit is contained in:
Gaze
2024-04-10 20:03:07 +07:00
parent e0522c94de
commit 3be5c0c9f6

View File

@@ -6,7 +6,11 @@ type ErrorKind string
const (
// NotFound is returned when a requested item is not found.
NotFound = ErrorKind("Not Found")
NotFound = ErrorKind("Not Found")
// InternalError is returned when internal logic got error
InternalError = ErrorKind("Internal Error")
OverflowUint64 = ErrorKind("overflow uint64")
OverflowUint128 = ErrorKind("overflow uint128")
)