Class RescueEvent
Event class for the ICanBoogie\Routing\RouteDispatcher::rescue
event.
Event hooks may use this event to rescue a route by providing a suitable response, or replace the exception to throw if the rescue fails.
- ICanBoogie\Event
- ICanBoogie\Routing\Route\RescueEvent
Methods summary
protected
Exception
|
|
protected
Exception
|
|
protected
ICanBoogie\HTTP\Request
|
|
protected
ICanBoogie\HTTP\Response|null
|
|
protected
|
|
public
|
#
__construct(
The event is constructed with the type self::TYPE. |
Properties summary
Magic properties
public
Exception
|
$exception
|
public
ICanBoogie\HTTP\Response|null
|
$response
|
public read-only
ICanBoogie\HTTP\Request
|
$request
|