3 ms·
You can recover from panic! in Rust on the thread level.
by fpoling 5y ago
You can recover from panic! in Rust on the thread level.
- pkolaczk 5y agoYeah, I know I can recover, that's why I said they are equivalent of C++ exceptions (which can be caught as well). But this is not a recommended idiomatic way of handling expected errors, e.g. input errors, improper configuration, I/O errors etc.