Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerError ¶
type HandlerError struct { // The HTTP status code that will be returned to the API client. HTTPStatusCode int // contains filtered or unexported fields }
HandlerError is for errors returned by the API handler funcs.
func NewHandlerError ¶
func NewHandlerError(err error, statusCode int) *HandlerError
Click to show internal directories.
Click to hide internal directories.