← All docs
get_exception_handler()
Returns the currently active uncaught-exception handler, or null when none is installed.
get_exception_handler()
function get_exception_handler(): mixed
Returns the currently active uncaught-exception handler, or null when none is installed.
Parameters: none.
Returns: mixed
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/get_exception_handler.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how get_exception_handler is implemented in the compiler, see the internals page.