int arsyerr(const char **fn, bool clear);
Returns the last error code and messages that occured in the current thread.
Argument | Intent | Description |
fn | out | (optional) Pointer to store a pointer to the function name string |
clear | in | Whether to clear the error code from the thread-local context |