Return to index

error functions

[]map = error_call_chain()

top

Returns full call chain with function names and arguments.


[]string = error_call_stack()

top

Returns function names in call chain.


error_default_handler()

top

Calls the default Za error handler.


error_emergency_exit(int)

top

Emergency exit with specified code.


error_extend(bool)

top

Enable/disable enhanced error context display.


string = error_filename()

top

Returns the filename where the error occurred.


map = error_global_variables()

top

Returns user-defined global variables (same as mdump).


map = error_local_variables()

top

Returns variables in the error frame.


string = error_message()

top

Returns the original error message text.


[]string = error_source_context(int,int)

top

Returns source lines (before, after) around error.


map = error_source_location()

top

Returns error location as {file, line, function, module}.