Method |
Description |
|
appendHandler ( callable | Autarky\Errors\ErrorHandlerInterface $handler ) : void |
Append a handler to the list of handlers. |
|
prependHandler ( callable | Autarky\Errors\ErrorHandlerInterface $handler ) : void |
Prepend a handler to the list of handlers. |
|
register ( ) : void |
Register the error handler to handle uncaught exceptions and errors. |
|
setDefaultHandler ( Autarky\Errors\ErrorHandlerInterface $handler ) |
Set the default handler that will be called if no other handlers are
available. |
|
setRethrow ( boolean $toggle ) |
Set whether exceptions should be handled or rethrown. |
|