Class CommandException
- Exception
-
JRA\Exceptions\JRAException
-
JRA\Exceptions\CommandException
Methods summary
public
|
#
__construct( string $message = 'Undefined exception message.', integer $code = CommandException::COMMAND_EXCEPTION_UNDEFINED, Exception $previous = null )
CommandException constructor. |
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Constants summary
integer |
COMMAND_EXCEPTION_UNDEFINED
The standard exception code if there is not another one specified. |
#
58100
|
integer |
COMMAND_EXCEPTION_RESPONSE_ERROR
The exception code if the response of the cAPI contains an error. |
#
58101
|
integer |
COMMAND_EXCEPTION_ROUTES_ERROR
The exception code if the response of the cAPI returns an invalid route exception. |
#
58102
|
integer |
COMMAND_EXCEPTION_ADDITIONAL_ARGUMENTS_ERROR
The exception code if the response of the cAPI returns that there was an error in the given additional arguments. |
#
58103
|
Constants inherited from JRA\Exceptions\JRAException
Properties summary
Properties inherited from Exception
$code,
$file,
$line,
$message