failResponse
A specific version of a JSend Fail Response-type. The data can contain:
| Element | Description | Type | Mandatory |
|---|---|---|---|
| status | fail | enum | yes |
| data | Description of error | string | yes |
Table 15: failResponse Model elements
Example
| { “status”: “fail”, “data”: “The requested resource could not be found.” } |
|---|