ICanBoogie
  • Documentation
  • API Reference
  • Operation 4.0.x
Namespaces
  • ICanBoogie
    • Operation
Classes
  • BeforeControlEvent
  • BeforeProcessEvent
  • BeforeValidateEvent
  • ControlEvent
  • FailureEvent
  • GetFormEvent
  • Hooks
  • OperationRouteDefinition
  • OperationRouteDispatcher
  • ProcessEvent
  • RescueEvent
  • Response
  • ValidateEvent
Interfaces
  • Exception
Traits
  • ControlEventTrait
  • ValidateEventTrait
Exceptions
  • Failure
  • FormHasExpired
  • FormNotFound

Class RescueEvent

Event class for the ICanBoogie\Operation::rescue event.

ICanBoogie\Event
┗ ICanBoogie\Operation\RescueEvent
Namespace: ICanBoogie\Operation
Located at Operation/RescueEvent.php

Methods summary

public __construct( ICanBoogie\Operation $target, ICanBoogie\Operation\Exception & $exception, ICanBoogie\HTTP\Request $request, ICanBoogie\Operation\Response|null & $response )

The event is constructed with the type rescue.

The event is constructed with the type rescue.

Parameters

$target
$exception
$request
$response

Constants summary

TYPE : string
'rescue'

Properties summary

public $exception : Exception

Reference to the exception that made the operation fail.

Reference to the exception that made the operation fail.


		
public $request : ICanBoogie\HTTP\Request

The request.

The request.


		
public $response : ICanBoogie\Operation\Response

Reference to the rescue response.

Reference to the rescue response.


		
Operation 4.0.x – Check on GitHub – API documentation generated by ApiGen