Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenericError ¶ added in v0.5.0
type GenericError struct { // in: body Body struct { // HTTP status code // example: 400 // default: 400 Code int32 `json:"code"` Message error `json:"message"` } `json:"body"` }
A GenericError is the default error message that is generated.
swagger:response genericError
type InternalError ¶ added in v0.5.0
type InternalError struct { // in: body Body struct { // HTTP status code // example: 500 // default: 500 Code int32 `json:"code"` Message error `json:"message"` } `json:"body"` }
A Internal is the error message that means something has gone wrong
swagger:response internalError
type NotFoundError ¶ added in v0.5.0
type NotFoundError struct { // in: body Body struct { // HTTP status code // example: 404 // default: 404 Code int32 `json:"code"` Message error `json:"message"` } `json:"body"` }
A NotFoundError is the error message that is generated when server could not find what was requested.
swagger:response notFoundError
Click to show internal directories.
Click to hide internal directories.