restore_exception_handler()
function restore_exception_handler(): bool
Restores the previously active uncaught-exception handler.
Parameters: none.
Returns: bool
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/core/restore_exception_handler.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how restore_exception_handler is implemented in the compiler, see the internals page.