Reporting Errors
Learn how to report errors.
We'll cover the following...
We'll cover the following...
The caller built-in
We use the caller built-in to inspect a function’s calling context. When passed no
arguments, caller returns a list containing the name of the calling package,
the name of the file containing the call, and the line number of the file on
which the call occurred:
The full call chain is available for inspection. Pass a single-integer argument
n to caller() to ...