DeferredCallbackFailed
Class
Read only:
Yes
Event representing a failed deferred callback execution.
Description
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.
Properties
Methods
__construct()
: mixed
Constructs a new DeferredCallbackFailed event.
Constructs a new DeferredCallbackFailed event.
public
__construct(Throwable
$throwable[,
string|null
$callback = null][,
array<string|int, mixed>
$arguments = []]) : mixed
Parameters
$throwable
:
Throwable
Description
the exception thrown by the callback
$callback
:
string|null
=
null
Description
the description of the callback, if available
$arguments
:
array<string|int, mixed>
=
[]
Description
the arguments passed to the callback