Properties
| Name | Type | Description |
|---|---|---|
| message | object | The error message describing the reason for the exception |
| statusCode | number | The HTTP status code of the response |
| error | string | The type of error |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/ServiceUnavailable.json",
"title": "ServiceUnavailable",
"type": "object",
"properties": {
"message": {
"description": "The error message describing the reason for the exception",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"statusCode": {
"type": "number",
"description": "The HTTP status code of the response",
"examples": [
503
]
},
"error": {
"type": "string",
"description": "The type of error",
"examples": [
"Service Unavailable"
]
}
},
"required": [
"message",
"statusCode",
"error"
]
}