interface ExceptionHandlerInterface (View source)

Contract for an exception handler

Methods

void
handleException(object $exception)

Handles the given exception

void
setOptions(array $options)

Sets options of this exception handler

Details

void handleException(object $exception)

Handles the given exception

Parameters

object $exception

The exception object - can be \Exception, or some type of \Throwable in PHP 7

Return Value

void

void setOptions(array $options)

Sets options of this exception handler

Parameters

array $options

Return Value

void