class HandleErrors implements ErrorMiddlewareInterface

Properties

protected ErrorHandler $errorHandler

Methods

__construct(ErrorHandler $errorHandler)

No description

__invoke($e, ServerRequestInterface $request, ResponseInterface $response, callable $out = null)

<p>{@inheritdoc}</p>

Details

__construct(ErrorHandler $errorHandler)

Parameters

ErrorHandler $errorHandler

__invoke($e, ServerRequestInterface $request, ResponseInterface $response, callable $out = null)

<p>{@inheritdoc}</p>

Parameters

$e
ServerRequestInterface $request
ResponseInterface $response
callable $out