InvalidControllerException
class InvalidControllerException extends Exception (View source)
An Invalid Controller Exception.
Properties
protected string | $referenceCode | from Exception | |
protected int | $statusCode | ||
protected ActionRequest | $request | from Exception |
Methods
Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.
Returns the HTTP status code this exception corresponds to (defaults to 500).
Overwrites parent constructor to be able to inject current request object.
Details
string
getReferenceCode()
Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.
int
getStatusCode()
Returns the HTTP status code this exception corresponds to (defaults to 500).
__construct(string $message = '', int $code = 0, Exception $previousException = null, ActionRequest $request)
Overwrites parent constructor to be able to inject current request object.
protected ActionRequest
getRequest()
Returns the request object that exception belongs to.