DeferredCallbackFailed
in package
Read onlyYes
Event representing a failed deferred callback execution.
This event MUST be dispatched whenever a deferred callback throws an exception. It SHALL encapsulate the throwable, the callback description, and the callback arguments. Consumers of this event MUST NOT modify its properties.
Table of Contents
Properties
- $arguments : array<string|int, mixed>
- $callback : string|null
- $throwable : Throwable
Methods
- __construct() : mixed
- Constructs a new DeferredCallbackFailed event.
Properties
$arguments
public
array<string|int, mixed>
$arguments
= []
$callback
public
string|null
$callback
= null
$throwable
public
Throwable
$throwable
Methods
__construct()
Constructs a new DeferredCallbackFailed event.
public
__construct(Throwable $throwable[, string|null $callback = null ][, array<string|int, mixed> $arguments = [] ]) : mixed
Parameters
- $throwable : Throwable
-
the exception thrown by the callback
- $callback : string|null = null
-
the description of the callback, if available
- $arguments : array<string|int, mixed> = []
-
the arguments passed to the callback