1 2 3 4 5 6 7 8
use fn_error_context::context; #[context("{}")] fn do_stuff() -> anyhow::Result<()> { anyhow::bail!("error") } fn main() {}