WpRestError
WpRestError schema used by the TheBooking public API.
Fields
| Field | Required | Type | Description |
|---|---|---|---|
code | Yes | string | WordPress REST error code. |
message | Yes | string | Human-readable error message. |
data | Yes | object | Additional structured data accepted by the route. |
Example
{
"code": "string",
"message": "string",
"data": {
"status": 1
}
}