Error
Note: It follows RFC-7807 proposed standard
Error object returned on any failure. It can be extended to add more params
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
A URI reference that identifies the problem type
When dereferenced, it provide human-readable documentation for the problem type using HTML
A short, human-readable summary of the problem type
The HTTP status code generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced