News for hackers. Stuff that matters.
Re:Overview of Rust error handling libraries by nemothekid on Friday November 22, 2019 @03:50PM (#21609927)
I used to do this as well, but I came across thiserror (which is featured in the article), which is just macros that do exactly this and nothing more.

It's certainly less transparent, but I prefer this method of error handling, and writing out the Impls manually can get out of hand (as well as having to adding new fields to the enum).

There are no comments on this comment yet.