ErrorRendererInterface
ErrorRendererInterface.
Table of Contents
__construct() | mixed | |
---|---|---|
render() | string | |
renderWithBody() | Body |
Methods
__construct()
public
__construct(
$request :
ServerRequestInterface
, $response :
ResponseInterface
, $exception :
Throwable
[, $displayErrorDetails :
bool
= false ]
)
: mixed
Parameters
- $request : ServerRequestInterface
The most recent Request object
- $response : ResponseInterface
The most recent Response object
- $exception : Throwable
The caught Exception object
- $displayErrorDetails : bool = false
Return values
mixedrender()
public
render(
)
: string
Return values
stringrenderWithBody()
public
renderWithBody(
)
: Body