Re:A guide to error handling in Rust
by Ciantic on Wednesday November 09, 2022 @09:22AM
(#33531955)
It can be as verbose as you want. This guide as well as others suggests using concrete error types for libraries but anyhow "catch all" method for applications.
There is disadvantages for going "catch all" libraries as then you can't be sure you are catching all errors.
There is disadvantages for going "catch all" libraries as then you can't be sure you are catching all errors.