class HandleErrorsWithWhoops implements MiddlewareInterface

Properties

protected LoggerInterface $logger

Methods

__construct(LoggerInterface $logger)

No description

ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)

<p>Catch all errors that happen during further middleware execution.</p>

Details

__construct(LoggerInterface $logger)

Parameters

LoggerInterface $logger

ResponseInterface process(ServerRequestInterface $request, RequestHandlerInterface $handler)

<p>Catch all errors that happen during further middleware execution.</p>

Parameters

ServerRequestInterface $request
RequestHandlerInterface $handler

Return Value

ResponseInterface