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

$requestId  : RequestId
$typo3Information  : Typo3Information
$viewFactory  : ViewFactoryInterface

Methods

__construct()  : mixed
errorAction()  : string
Renders the view and returns the content.

Properties

Methods

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
Return values
string

        
On this page

Search results