This error reporter implementation MUST ignore all reported exceptions.
Description
It SHALL NOT perform any logging or throw exceptions under any circumstances. This class MAY be used as a default or placeholder reporter.
Interfaces
ErrorReporterInterface
This interface MUST be implemented by any class that reports exceptions from deferred callbacks.
Methods
report()
: void
Ignores any reported throwable.
Ignores any reported throwable.
public
report(Throwable
$throwable[,
callable|null
$callback = null][,
array<string|int, mixed>
$args = []]) : void
Description
This method MUST NOT perform any action and MUST NOT throw exceptions.
Parameters
$throwable
:
Throwable
Description
the exception or error to ignore
$callback
:
callable|null
=
null
Description
the related callback, if available
$args
:
array<string|int, mixed>
=
[]
Description
arguments passed to the callback, if any