Method | Description | |
---|---|---|
__construct ( Whoops\Run $whoops, |
Method | Description | |
---|---|---|
handleException ( Throwable $exception, Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface | Handle an exception. |
Method | Description | |
---|---|---|
prepareWhoopsHandler ( Psr\Http\Message\RequestInterface $request, |
Prepare the Whoops page handler with a table displaying request information |
public __construct ( Whoops\Run $whoops, |
||
$whoops | Whoops\Run | |
$whoopsHandler | ||
$renderer | Zend\Expressive\Template\TemplateRendererInterface | |
$template404 | null | string | |
$templateError | null | string | |
$originalResponse | Psr\Http\Message\ResponseInterface |
protected handleException ( Throwable $exception, Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface | ||
$exception | Throwable | |
$request | Psr\Http\Message\RequestInterface | |
$response | Psr\Http\Message\ResponseInterface | |
return | Psr\Http\Message\ResponseInterface |