UserFrosting API

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
mixed

Search results