> # 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
<error/rlang_error>
bar
Backtrace:
    █
 1. └─global::a()
 2.   └─global::b()
 3.     └─global::c()
<parent: error/rlang_error>
foo
Backtrace:
    █
 1. └─global::f()
 2.   └─global::g()
 3.     └─global::h()
Execution halted

