2021-02-17 11:29:20 -08:00
|
|
|
package model
|
|
|
|
|
|
|
|
// ErrorResponse is an error response
|
|
|
|
// swagger:model
|
|
|
|
type ErrorResponse struct {
|
|
|
|
// The error message
|
|
|
|
// required: false
|
|
|
|
Error string `json:"error"`
|
2021-03-26 11:01:54 -07:00
|
|
|
|
|
|
|
// The error code
|
|
|
|
// required: false
|
|
|
|
ErrorCode int `json:"errorCode"`
|
2021-02-17 11:29:20 -08:00
|
|
|
}
|