package
0.0.0-20241121185327-65a29768111e
Repository: https://github.com/outofstack/game-library.git
Documentation: pkg.go.dev

# Functions

IsAppError checks if error is AppError.
IsStatusCode checks if error is AppError and status code is statusCode.
NewForbiddenError - return new custom forbidden error.
NewInvalidError - return new custom invalid error.
NewNotFoundError - return new custom not found error.

# Constants

supported status codes.
supported status codes.
supported status codes.

# Structs

Error - custom error wrapper.

# Interfaces

AppError - app error interface.
EntityIDType generics type for entity id.

# Type aliases

StatusCode - error status code.