Documentation ¶
Index ¶
- Variables
- func BadRequest(message string) *errors.Error
- func ClientClosed(message string) *errors.Error
- func Conflict(message string) *errors.Error
- func Forbidden(message string) *errors.Error
- func GatewayTimeout(message string) *errors.Error
- func InternalServer(message string) *errors.Error
- func New(code int, message string) *errors.Error
- func NotFound(message string) *errors.Error
- func ServiceUnavailable(message string) *errors.Error
- func Unauthorized(message string) *errors.Error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IsBadRequest = errors.IsBadRequest IsForbidden = errors.IsForbidden IsNotFound = errors.IsNotFound IsConflict = errors.IsConflict IsInternalServer = errors.IsInternalServer IsGatewayTimeout = errors.IsGatewayTimeout IsClientClosed = errors.IsClientClosed )
alias
Functions ¶
func BadRequest ¶
func ClientClosed ¶
func GatewayTimeout ¶
func InternalServer ¶
func ServiceUnavailable ¶
func Unauthorized ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.