R: Last 'abort()' error

last_error {rlang} | R Documentation

## Last `abort()` error

### Description

- `last_error()` returns the last error thrown with `abort()`. 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()

[Package rlang version 0.4.2 Index]