next up previous index
Next: Debugger Up: Module System Previous: Dynamic Procedures   Index

Event handlers

The caller module of event handlers is the module from where the handler has been set (using set_error_handler/2 or set_interrupt_handler/2). This allows to set event handlers that are local to a module and still be able to call it no matter from what module the event occurred.

The caller module of the culprit of an error can however be obtained in the third argument of the error handler (if it is provided).




1999-08-06