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 |
---|---|---|---|
timestamp | Time when the error occurred. | String | + |
status | HTTP status code. | Number | + |
error | HTTP status name. | String | + |
message | Error details. | String | + |
errorCode | Error code. | Enumeration "Codes of validation errors in offers" | + |
Sample
{
"timestamp": "2020-03-14T18:02:57",
"status": 403,
"error": "Forbidden",
"message": "Такая заявка уже есть",
"errorCode": 8
}