\Alo\ExceptionControllerException

Controller-related exceptions

Summary

Methods
Properties
Constants
__construct()
No public properties found
E_DEFAULT_UNDEFINED
E_CONFIG_NOT_FOUND
E_ERR_NOT_FOUND
E_MALFORMED_ROUTES
E_INVALID_ROUTE
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

E_DEFAULT_UNDEFINED

E_DEFAULT_UNDEFINED

Code when a default controller is not defined

E_CONFIG_NOT_FOUND

E_CONFIG_NOT_FOUND

Code when the config file is not found

E_ERR_NOT_FOUND

E_ERR_NOT_FOUND

Code when the error controller is not found

E_MALFORMED_ROUTES

E_MALFORMED_ROUTES

Code when the routes array is malformed

E_INVALID_ROUTE

E_INVALID_ROUTE

Code when there's no controller available and the error controller is not set/invalid

Methods

__construct()

__construct(string  $message = '', integer  $code, \Exception  $previous = null) 

Creates the exception

Parameters

string $message

Exception message

integer $code

Exception code

\Exception $previous

Previous exception, if chaining