ExceptionHandlerInterface

interface \TYPO3\CMS\Frontend\ContentObject\Exception\ExceptionHandlerInterface

Interface ExceptionHandlerInterface

Table of Contents

Methods

handle()  : string
Handles exceptions thrown during rendering of content objects The handler can decide whether to re-throw the exception or return a nice error message for production context.

Methods

handle()

Handles exceptions thrown during rendering of content objects The handler can decide whether to re-throw the exception or return a nice error message for production context.

public handle(Exception $exception[, AbstractContentObject $contentObject = null ][, array $contentObjectConfiguration = [] ]) : string

Parameters

$exception : Exception
$contentObject : AbstractContentObject = null
$contentObjectConfiguration : array = []

Return values

string
On this page