Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandlerError ¶
Types ¶
type HandlerError ¶
HandlerError is an error that can be returned by a handler to specify a status code and an error message. It is used as a wrapper around the original error to bubble up the status code to the HTTP response.
func (*HandlerError) Error ¶
func (h *HandlerError) Error() string
Click to show internal directories.
Click to hide internal directories.