CiviCRM_API3_Exception
class CiviCRM_API3_Exception extends Exception
This api exception returns more information than the default one. We are using it rather than API_Exception from the api wrapper as the namespace is more generic
Methods
__construct(string $message, mixed $error_code = 0, array $extraParams = [], Exception $previous = NULL)
Class constructor.
string
__toString()
Custom string representation of object.
mixed
getErrorCode()
Get error code.
array
getExtraParams()
Get extra parameters.
Details
at line 109
__construct(string $message, mixed $error_code = 0, array $extraParams = [], Exception $previous = NULL)
Class constructor.
at line 119
string
__toString()
Custom string representation of object.
at line 128
mixed
getErrorCode()
Get error code.
at line 137
array
getExtraParams()
Get extra parameters.