Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrForbidden = AppError{ StatusCode: http.StatusForbidden, // contains filtered or unexported fields }
View Source
var ErrMalformedRequest = AppError{ StatusCode: http.StatusUnprocessableEntity, // contains filtered or unexported fields }
View Source
var ErrMissing = AppError{ StatusCode: http.StatusNotFound, // contains filtered or unexported fields }
View Source
var ErrMissingContext = AppError{ StatusCode: http.StatusInternalServerError, // contains filtered or unexported fields }
View Source
var ErrMissingJSAdapter = AppError{ StatusCode: http.StatusInternalServerError, // contains filtered or unexported fields }
Functions ¶
This section is empty.
Types ¶
type AppError ¶
type AppError struct { StatusCode int // contains filtered or unexported fields }
func ErrNewMissingContext ¶
func NewGeneric ¶
func NewStringGeneric ¶
func (AppError) HTTPStatus ¶
Click to show internal directories.
Click to hide internal directories.