3 ms·
We do provide a way to catch a panic https://doc.rust-lang.org/stable/std/panic/fn.catch_unwind.html https://doc.rust-lang.org/stable/std/panic/fn.catch_unwind.
by steveklabnik 6y ago
We do provide a way to catch a panic https://doc.rust-lang.org/stable/std/panic/fn.catch_unwind.html https://doc.rust-lang.org/stable/std/panic/fn.catch_unwind.h...
It's not considered generally idiomatic as an error handling strategy, but it does exist if it's needed.