FluidPageErrorHandler
class \
- Implements
- PageErrorHandlerInterface
An error handler that renders a fluid template.
This is typically configured via the "Sites configuration" module in the backend.
Table of Contents
Interfaces
- PageErrorHandlerInterface
- Page error handler interface, used to jump in for Frontend-related calls
Properties
- $statusCode : int
- $view : ViewInterface
Methods
- __construct() : mixed
- FluidPageErrorHandler constructor.
- handlePageError() : ResponseInterface
Properties
$statusCode
protected
int
$statusCode
$view
protected
ViewInterface
$view
Methods
__construct()
FluidPageErrorHandler constructor.
public
__construct(int $statusCode, array $configuration) : mixed
Parameters
- $statusCode : int
- $configuration : array
handlePageError()
public
handlePageError(ServerRequestInterface $request, string $message[, array $reasons = [] ]) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $message : string
- $reasons : array = []