FluidPageErrorHandler 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

Methods

__construct()

FluidPageErrorHandler constructor.

public __construct(int $statusCode, array<string|int, mixed> $configuration) : mixed
Parameters
$statusCode : int
$configuration : array<string|int, mixed>

handlePageError()

public handlePageError(ServerRequestInterface $request, string $message[, array<string|int, mixed> $reasons = [] ]) : ResponseInterface
Parameters
$request : ServerRequestInterface
$message : string
$reasons : array<string|int, mixed> = []
Return values
ResponseInterface

        
On this page

Search results