API Client
|
Public Member Functions | |
getHint () | |
getType () | |
Static Public Member Functions | |
static | fromAPIResponse ($code, $response) |
Protected Attributes | |
$hint | |
$error_type | |
Represents an API error
|
static |
Creates an error object from API reply
OneCRM\APIClient\Error::getHint | ( | ) |
Gets error hint
1CRM REST API can return hint with an error to suggest a possible fix.
OneCRM\APIClient\Error::getType | ( | ) |
Gets error type returned from 1CRM REST API