NullErrorReporter

Class
Final: Yes

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.

Table of Contents

Interfaces

ErrorReporterInterface

This interface MUST be implemented by any class that reports exceptions from deferred callbacks.

Methods

report()

Ignores any reported throwable.

 : void
Methods

report()

Public

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