Sympa documentation licensed under GPL
Sympa::Crash - Show traceback on critical error
use Sympa::Crash;
# Registering custom hook.
use Sympa::Crash Hook => \&myhook;
Once Sympa::Crash is loaded, crash by runtime error will be reported via log and traceback will be shown in standard error.
If optional Hook
parameter is given, it will be executed instead.
register_handler ( )
Sometimes other modules overwrites error handler. If that is the case, executing this function will register handler again.
Sympa::Crash appeared on Sympa 6.2.
The content of this page is automatically generated from the source distribution of Sympa. For details about this document see original source file.
Theme originally designed by orderedlist