Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadRequest ¶
type BadRequest string
func NewBadRequest ¶
func NewBadRequest(err string) BadRequest
func NewBadRequestf ¶ added in v0.13.1
func NewBadRequestf(format string, a ...interface{}) BadRequest
func (BadRequest) Error ¶
func (b BadRequest) Error() string
func (BadRequest) HTTPStatusCode ¶ added in v1.0.0
func (b BadRequest) HTTPStatusCode() int
type Internal ¶
type Internal string
func NewInternal ¶
func NewInternalf ¶ added in v0.13.1
func (Internal) HTTPStatusCode ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.