CSException
class CSException extends Exception
CSException CSException Class is used to wrap the REST API error
Properties
$error_message | |||
$error_code | |||
$http_code |
Methods
__construct(string $error, Stack $http_code = 412)
CSException Class to initalize your ContentType
HttpCode|string
getStatusCode()
To get http status_code of the current exception
error|array
getErrors()
Returns error details of current exception
Details
at line 42
__construct(string $error, Stack $http_code = 412)
CSException Class to initalize your ContentType
at line 71
HttpCode|string
getStatusCode()
To get http status_code of the current exception
at line 81
error|array
getErrors()
Returns error details of current exception