2 ms·
You’re probably right now that I’ve read up on it, I wasn’t previously aware of catch_unwind.
by layer8 4y ago
You’re probably right now that I’ve read up on it, I wasn’t previously aware of catch_unwind.
- dureuill 4y agoGlad to be of service. Note that the idiomatic error handling in rust is still Result based rather than panic/catch_unwind based. Nevertheless a long living application like, e.g., a webserver will catch panics coming from its subtasks (e.g., its request handlers) via catch_unwind