Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
func ErrorHandler(label string, err error) middleware.Responder
ErrorHandler is a convenience method for returning the appropriate response based on the error
func ErrorResponse ¶
func ErrorResponse(err error) *models.ErrorResponse
ErrorResponse wraps the error in the api standard models.ErrorResponse object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.