src/Chiron/Handler/ErrorHandler.php
private function report(ServerRequestInterface $request, Throwable $e): void
    {
        if ($this->shouldntReport($e)) {
            return;
        }

        foreach ($this->reporters as $reporter) {
            if ($reporter->canReport($e)) {
                $reporter->report($request, $e);
            }
        }
    }
private function report(ServerRequestInterface $request, Throwable $e): void
    {
        if ($this->shouldntReport($e)) {
            return;
        }

        foreach ($this->reporters as $reporter) {
            if ($reporter->canReport($e)) {
                $reporter->report($request, $e);
            }
        }
    }
private function report ( ServerRequestInterface $ request , Throwable $ e ) : void { if ( $ this -> shouldntReport ( $ e ) ) { return ; } foreach ( $ this -> reporters as $ reporter ) { if ( $ reporter -> canReport ( $ e ) ) { $ reporter -> report ( $ request , $ e ) ; } } }
Execute all the reporters in the stack.

@param \Psr\Http\Message\ServerRequestInterface $request
@param \Throwable                               $e

@return \Psr\Http\Message\ResponseInterface
Execute all the reporters in the stack .