LIST traceback()
This function returns the propogated error stack. The first element in the traceback list is the error condition, the second element is what caused the error. The subsequent errors describe the method call stack from the point of origin. The error condition list is ordered as follows:
The second element (what caused the error) will vary, depending upon where the error came from. If the error came from an operator, function or native method, it is a two element list:
If the error originated in a method, this list is ordered as:
All other elements are ordered as:
Keep in mind that the error code will change to ~methoderr when it propogates, unless the propogate expression is used. See the section Errors for more information. A full traceback might look like:
[[~numargs, "Called with no arguments, requires one.", 0],
['function, 'listlen],
[~numargs, 'foo, $brandon, $brandon, 1],
[~methoderr, 'tmp_eval_855796437, $brandon, $brandon, 6]]
error() | rethrow() | throw() | traceback()