← All docs

get_error_handler()

Returns the currently active user error handler, or null when none is installed.

get_error_handler()

function get_error_handler(): mixed

Returns the currently active user error 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_error_handler is implemented in the compiler, see the internals page.