Documentation ¶
Index ¶
Constants ¶
View Source
const ( BadRequest int = 0 InternalServer int = 1 NotFound int = 2 Invalid int = 3 )
possible error codes for AppError implementation
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppError ¶
AppError is struct of application error The Code should be a const in https://golang.org/pkg/net/http/
Click to show internal directories.
Click to hide internal directories.