PHP Class Neos\Fusion\Core\ExceptionHandlers\HtmlMessageHandler

Inheritance: extends AbstractRenderingExceptionHandler
Datei anzeigen Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$systemLogger Neos\Flow\Log\SystemLoggerInterface

Protected Methods

Method Description
formatErrorCodeMessage ( integer $referenceCode ) : string Renders a message depicting the user where to find further information for the given reference code.
formatTypoScriptPath ( string $typoScriptPath ) : string Renders an indented multi-line stack-trace for the given TypoScript path.
handle ( string $typoScriptPath, Exception $exception, integer $referenceCode ) : string Renders the exception in HTML for display

Method Details

formatErrorCodeMessage() protected method

Renders a message depicting the user where to find further information for the given reference code.
protected formatErrorCodeMessage ( integer $referenceCode ) : string
$referenceCode integer
return string A rendered message with the reference code containing HTML

formatTypoScriptPath() protected method

example: default/body/content/ is rendered as default/ body/ content/
protected formatTypoScriptPath ( string $typoScriptPath ) : string
$typoScriptPath string
return string Multi-line stack trace for the given TypoScript path

handle() protected method

Renders the exception in HTML for display
protected handle ( string $typoScriptPath, Exception $exception, integer $referenceCode ) : string
$typoScriptPath string path causing the exception
$exception Exception exception to handle
$referenceCode integer
return string

Property Details

$systemLogger protected_oe property

protected SystemLoggerInterface,Neos\Flow\Log $systemLogger
return Neos\Flow\Log\SystemLoggerInterface