Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func InternalServerError ¶
func Unauthenticated ¶
func Unauthenticated() error
func Unauthorized ¶
func Unauthorized() error
Types ¶
type Error ¶
type Error struct { // status code // required: true Status int `json:"status"` // error message // required: true Message string `json:"message"` // error details Details string `json:"detail"` Cause error `json:"-"` }
Error is the error returned if an error occurred swagger:model errorResponse
Click to show internal directories.
Click to hide internal directories.