JosephLenton/PHP-Error — pull request #58 by panrafal (2013-02-03 01:33:02+00:00)
Title:  ...

$handler->addErrorCallback() will add a callback that will be fired just right after logging the error.

It might be used to use additional loggers, or to display a nice error page for non-development users.

Returning anything from the callback will immediately stop processing the script (no error display).

The callback is of form:
```php
callback( $code, $message, $errLine, $errFile, $ex )
```