handle-this 0.2.4

Ergonomic error handling with try/catch/throw/inspect/finally syntax and automatic stack traces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Error: multiple with clauses

use handle_this::handle;

fn main() {
    let _ = handle! {
        try { Err::<i32, &str>("error")? }
        catch { 0 }
        with { key: "first" }
        with { key: "second" }
    };
}