class CRM_Contribute_Exception_CheckLineItemsException extends API_Exception

Class CRM_Contribute_Exception_CheckLineItemsException

Constants

UNAUTHORIZED

NOT_IMPLEMENTED

LINE_ITEM_DIFFERRING_TOTAL_EXCEPTON_MSG

Methods

__construct(string $message = self::LINE_ITEM_DIFFERRING_TOTAL_EXCEPTON_MSG, mixed $error_code = 0, array $extraParams = [], Exception $previous = NULL)

Class constructor.

string
__toString()

Custom string representation of object.

array
getExtraParams()

Get extra parameters.

array
getErrorCodes()

Get error codes.

Details

at line 9
__construct(string $message = self::LINE_ITEM_DIFFERRING_TOTAL_EXCEPTON_MSG, mixed $error_code = 0, array $extraParams = [], Exception $previous = NULL)

Class constructor.

Parameters

string $message The human friendly error message.
mixed $error_code A computer friendly error code. By convention, no space (but underscore allowed) (ex: mandatory_missing, duplicate, invalid_format).
array $extraParams Extra params to return. eg an extra array of ids. It is not mandatory, but can help the computer using the api. Keep in mind the api consumer isn't to be trusted. eg. the database password is NOT a good extra data.
Exception $previous A previous exception which caused this new exception.

in API_Exception at line 57
string __toString()

Custom string representation of object.

Return Value

string

in API_Exception at line 66
array getExtraParams()

Get extra parameters.

Return Value

array

in API_Exception at line 75
array getErrorCodes()

Get error codes.

Return Value

array