ErrorPageController
Read onlyYes
A class representing error messages shown on a page, rendered via fluid.
Classic Example: "No pages are found on rootlevel"
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Properties
Methods
- __construct() : mixed
- errorAction() : string
- Renders the view and returns the content.
Properties
$requestId
protected
RequestId
$requestId
$typo3Information
protected
Typo3Information
$typo3Information
$viewFactory
protected
ViewFactoryInterface
$viewFactory
Methods
__construct()
public
__construct(ViewFactoryInterface $viewFactory, RequestId $requestId, Typo3Information $typo3Information) : mixed
Parameters
- $viewFactory : ViewFactoryInterface
- $requestId : RequestId
- $typo3Information : Typo3Information
errorAction()
Renders the view and returns the content.
public
errorAction(string $title, string $message[, int $errorCode = 0 ][, int|null $httpStatusCode = null ]) : string
Parameters
- $title : string
- $message : string
- $errorCode : int = 0
- $httpStatusCode : int|null = null