Skip to content

NullErrorReporter

github-actions edited this page Mar 26, 2026 · 1 revision

This error reporter implementation MUST ignore all reported exceptions.

It SHALL NOT perform any logging or throw exceptions under any circumstances. This class MAY be used as a default or placeholder reporter.


  • Full name: \FastForward\Defer\ErrorReporter\NullErrorReporter
  • This class is marked as final and can't be subclassed
  • This class implements: \FastForward\Defer\ErrorReporterInterface
  • This class is a Final class

Methods

report

Ignores any reported throwable.

public report(\Throwable $throwable, callable|null $callback = null, array $args = []): void

This method MUST NOT perform any action and MUST NOT throw exceptions.

Parameters:

Parameter Type Description
$throwable \Throwable the exception or error to ignore
$callback callable|null the related callback, if available
$args array arguments passed to the callback, if any

Clone this wiki locally