JRA, PHP cAPI interface
  • Namespace
  • Class
  • Tree

Namespaces

  • JRA
    • Abstracts
    • Commands
      • Invokers
      • Methods
        • Content
        • Token
        • User
      • Routes
    • ComposerHandler
    • Config
      • Helper
    • Exceptions
    • Facades
    • Factories
    • Interfaces
    • Objects
      • Response
        • Data
    • Responsibilities
      • Handlers
      • Responsible
        • Login
        • Logout

Exceptions

  • APIException
  • AuthenticationConfigException
  • CommandException
  • JRAException
  • ServerConfigException
  • TokenConfigException
  • UserAPIException
  • UserCredentialsConfigException
  • VersionException

Class CommandException

Exception
Extended by JRA\Exceptions\JRAException
Extended by JRA\Exceptions\CommandException
Namespace: JRA\Exceptions
Located at Exceptions/CommandException.php

Methods summary

public
# __construct( string $message = 'Undefined exception message.', integer $code = CommandException::COMMAND_EXCEPTION_UNDEFINED, Exception $previous = null )

CommandException constructor.

CommandException constructor.

Parameters

$message
The exception message.
$code
The exception code.
$previous
A previous exception.

Overrides

JRA\Exceptions\JRAException::__construct

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.

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.

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.

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.

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

JRA_EXCEPTION_UNDEFINED

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

JRA, PHP cAPI interface API documentation generated by ApiGen