mirror of
https://github.com/alexgo-io/gaze-indexer.git
synced 2026-04-30 20:52:01 +08:00
feat(errs): add internal server error
Co-authored-by: Gaze <gazenw@users.noreply.github.com>
This commit is contained in:
@@ -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")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user