Structure "Error with the code"
This structure describes the different types of errors that can occur when managing offers. The error is described by its code and a text message.
Field description
| Name | Description | Data type | Required |
|---|---|---|---|
| statusCode | HTTP status code. | Number | + |
| message | Error details in the request language; if there is no translation, as is. | String | + |
| errorCode | Error code. | Enumeration "Codes of validation errors in offers" | + |
| wrongFields | For this error, it is null. |
Array | + |
| messageArgs | For this error, it is null. |
Object | + |
Sample
{
"statusCode": 403,
"message": "Такая заявка уже есть",
"errorCode": 8,
"wrongFields": null,
"messageArgs": null
}