CifException¶
-
class
Firstred\PostNL\Exception\CifException¶ - Class CifException.
Summary¶
Methods¶
Properties¶
-
protected static property
Firstred\PostNL\Exception\CifException::$messages¶ - Type
array
Methods¶
-
public
Firstred\PostNL\Exception\CifException::__construct($message=\'\', $code=0, $previous=null)¶ - CifException constructor.
- Parameters
$message (string | string[]) In case of multiple errors, the format looks like:
[ ‘description’ => string <The description>, ‘message’ => string <The error message>, ‘code’ => int <The error code> ] The code param will be discarded if $message is an array * $code (int) * $previous (
Throwable| null)
-
public
Firstred\PostNL\Exception\CifException::getMessagesDescriptionsAndCodes()¶ - Get error messages and codes.
- Returns
array | string | string[]