Error Model The Error contains error relevant information. swagger:model Error
| 6 | // |
| 7 | // swagger:model Error |
| 8 | type Error struct { |
| 9 | // The general error message |
| 10 | // |
| 11 | // required: true |
| 12 | // example: Unauthorized |
| 13 | Error string `json:"error"` |
| 14 | // The http error code. |
| 15 | // |
| 16 | // required: true |
| 17 | // example: 401 |
| 18 | ErrorCode int `json:"errorCode"` |
| 19 | // The http error code. |
| 20 | // |
| 21 | // required: true |
| 22 | // example: you need to provide a valid access token or user credentials to access this api |
| 23 | ErrorDescription string `json:"errorDescription"` |
| 24 | } |