restore_error_handler()
function restore_error_handler(): bool
Restores the previously active user error 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_error_handler.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how restore_error_handler is implemented in the compiler, see the internals page.