13 lines
245 B
Go
13 lines
245 B
Go
package model
|
|
|
|
// ErrorResponse is an error response
|
|
// swagger:model
|
|
type ErrorResponse struct {
|
|
// The error message
|
|
// required: false
|
|
Error string `json:"error"`
|
|
|
|
// The error code
|
|
// required: false
|
|
ErrorCode int `json:"errorCode"`
|
|
}
|