config/errors.json
{
"400": {
"developerMessage": "The request cannot be fulfilled due to bad syntax.",
"userMessage": "An error occured",
"code": 400
},
"401": {
"developerMessage": "User authentication token has expired or is missing",
"userMessage": "This resource is only available after logging in.",
"code": 401
},
"403": {
"developerMessage": "User does not have enough privileges to access this resource.",
"userMessage": "You do not have access to this resource.",
"code": 403
},
"404": {
"developerMessage": "The resource could not be found.",
"userMessage": "The content you requested was not found.",
"code": 404
},
"429": {
"developerMessage": "You have sent too many requests in a given amount of time.",
"userMessage": "Please wait a while before trying to access this content again",
"code": 429
},
"500": {
"developerMessage": "There was an error while processing this request. There is probably something wrong with the API server.",
"userMessage": "There was an error while processing this request.",
"code": 500
},
"599": {
"developerMessage": "Connection timeout while processing this request.",
"userMessage": "Connection timeout while processing this request.",
"code": 599
}
}