| last_error {rlang} | R Documentation |
Last abort() error
Description
-
last_error()returns the last error entraced byabort()orglobal_entrace(). The error is printed with a backtrace in simplified form. -
last_trace()is a shortcut to return the backtrace stored in the last error. This backtrace is printed in full form.
Usage
last_error()
last_trace(drop = NULL)
Arguments
drop |
Whether to drop technical calls. These are hidden from
users by default, set |
See Also
-
rlang_backtrace_on_errorto control what is displayed when an error is thrown. -
global_entrace()to enablelast_error()logging for all errors.
[Package rlang version 1.1.4 Index]