Re:Overview of Rust error handling libraries
by shepmaster on Friday November 22, 2019 @01:55PM
(#21608716)
> The most irksome thing remaining is to have to create your own error objects
That's generally the purpose of the libraries outlined in the article — reducing the pain of creating the custom error types.
* Pattern-matching for success/error check
* Error passing with the `?` operator
* The correct error seems to appear when panicing due to an `unwrap` call
The most irksome thing remaining is to have to create your own error objects..