Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 10
What does catch_unwind do, and what's a caveat?
A
Retries the panicking code
B
Catches a panic as Err at a boundary (e.g. FFI or thread pool); it doesn't work with panic=abort and isn't for normal error handling
C
Converts panics into compile errors
D
Catches all errors including segfaults