CSException
CSException
CSException CSException Class is used to wrap the REST API error
| Name | Type | Description |
|---|---|---|
| error_message | string | Contentstack error message. |
| error_code | string | Contentstack Error code |
| http_code | int | API http status code |
getErrors
Returns error details of current exception
getStatusCode
To get http status_code of the current exception