News for hackers. Stuff that matters.
Re:Overview of Rust error handling libraries by timw4mail on Friday November 22, 2019 @11:31AM (#21607099)
While dealing with errors in any langauge is irritating, I think Rust has the best ideas.

* 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..

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.