Documentation ¶
Index ¶
- Constants
- type AppError
- func AlreadyExists(format string, a ...interface{}) AppError
- func BadRequest(format string, a ...interface{}) AppError
- func Forbidden(format string, a ...interface{}) AppError
- func Internal(format string, a ...interface{}) AppError
- func NotFound(format string, a ...interface{}) AppError
- func WrongInput(format string, a ...interface{}) AppError
Constants ¶
View Source
const ( CodeInternal = 1 CodeNotFound = 2 CodeAlreadyExists = 3 CodeWrongInput = 4 CodeForbidden = 5 CodeBadRequest = 6 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.