‪TYPO3CMS  10.4
TYPO3\CMS\Core\Error\PageErrorHandler\FluidPageErrorHandler Class Reference
Inheritance diagram for TYPO3\CMS\Core\Error\PageErrorHandler\FluidPageErrorHandler:
TYPO3\CMS\Core\Error\PageErrorHandler\PageErrorHandlerInterface

Public Member Functions

 __construct (int $statusCode, array $configuration)
 
ResponseInterface handlePageError (ServerRequestInterface $request, string $message, array $reasons=[])
 

Protected Attributes

ViewInterface $view
 
int $statusCode
 

Detailed Description

An error handler that renders a fluid template. This is typically configured via the "Sites configuration" module in the backend.

Definition at line 31 of file FluidPageErrorHandler.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Error\PageErrorHandler\FluidPageErrorHandler::__construct ( int  $statusCode,
array  $configuration 
)

FluidPageErrorHandler constructor.

Parameters
int$statusCode
array$configuration

Definition at line 46 of file FluidPageErrorHandler.php.

References TYPO3\CMS\Core\Error\PageErrorHandler\FluidPageErrorHandler\$statusCode.

Member Function Documentation

◆ handlePageError()

ResponseInterface TYPO3\CMS\Core\Error\PageErrorHandler\FluidPageErrorHandler::handlePageError ( ServerRequestInterface  $request,
string  $message,
array  $reasons = [] 
)
Parameters
ServerRequestInterface$request
string$message
array$reasons
Returns
‪ResponseInterface

Implements TYPO3\CMS\Core\Error\PageErrorHandler\PageErrorHandlerInterface.

Definition at line 68 of file FluidPageErrorHandler.php.

Member Data Documentation

◆ $statusCode

int TYPO3\CMS\Core\Error\PageErrorHandler\FluidPageErrorHandler::$statusCode
protected

◆ $view

ViewInterface TYPO3\CMS\Core\Error\PageErrorHandler\FluidPageErrorHandler::$view
protected

Definition at line 35 of file FluidPageErrorHandler.php.