ExceptionHandlerInterface

Contract for an exception handler

This file is a backport from TYPO3 Flow

Table of Contents

Methods

__construct()  : mixed
Constructs this exception handler - registers itself as the default exception handler.
echoExceptionCLI()  : mixed
Formats and echoes the exception for the command line
echoExceptionWeb()  : mixed
Formats and echoes the exception as XHTML.
handleException()  : mixed
Handles the given exception

Methods

__construct()

Constructs this exception handler - registers itself as the default exception handler.

public __construct() : mixed

echoExceptionCLI()

Formats and echoes the exception for the command line

public echoExceptionCLI(Throwable $exception) : mixed
Parameters
$exception : Throwable

The throwable object.

echoExceptionWeb()

Formats and echoes the exception as XHTML.

public echoExceptionWeb(Throwable $exception) : mixed
Parameters
$exception : Throwable

The throwable object.

handleException()

Handles the given exception

public handleException(Throwable $exception) : mixed
Parameters
$exception : Throwable

The throwable object.


        
On this page

Search results