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