Skip to content

Conversation

@panrafal
Copy link

@panrafal panrafal commented Feb 3, 2013

$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:

callback( $code, $message, $errLine, $errFile, $ex )

…ng the error in reportError.

It might be used to use additional loggers, or to display a nice error page for non-development users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant