메소드 | 설명 | |
---|---|---|
__construct ( Whoops\Run $whoops, |
메소드 | 설명 | |
---|---|---|
handleException ( Throwable $exception, Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface | Handle an exception. |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | Psr\Http\Message\ResponseInterface |