FluidPageErrorHandler

class \TYPO3\CMS\Core\Error\PageErrorHandler\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

$configuration  : array
$statusCode  : int

Methods

__construct()  : mixed
handlePageError()  : ResponseInterface

Properties

$configuration

protected array $configuration

Methods

__construct()

public __construct(int $statusCode, array $configuration) : mixed

Parameters

$statusCode : int
$configuration : array

Tags

todo:

Change this "API" to not pollute __construct() anymore

handlePageError()

public handlePageError(ServerRequestInterface $request, string $message[, array $reasons = [] ]) : ResponseInterface

Parameters

$request : ServerRequestInterface
$message : string
$reasons : array = []

Return values

ResponseInterface
On this page