← 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

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.