> # Interactive
> cat_line(interactive)
Error: bar
Run `rlang::last_error()` to see where the error occurred.
Execution halted

> # Non-interactive
> cat_line(non_interactive)
Error: bar
Backtrace:
    x
 1. \-global::a()
 2.   \-global::b()
 3.     \-global::c()
<parent: error/rlang_error>
Backtrace:
    x
 1. \-global::f()
 2.   \-global::g()
 3.     \-global::h()
Execution halted

