4 ms·
That was a pleasure to read. Well written, nicely formatted and good links to further reading topics. The only missing piece was talking about https://github.c
by airstrike 2y ago
That was a pleasure to read. Well written, nicely formatted and good links to further reading topics.
The only missing piece was talking about https://github.com/dtolnay/thiserror https://github.com/dtolnay/thiserror which I would expect to be prominently featured given how prevalent it is
And possibly https://github.com/dtolnay/anyhow https://github.com/dtolnay/anyhow which is arguably a simpler form of "error handling" but sometimes that's all you need—although probably not in the Finance or Space industries ;-)
- bobbylarrybobby 2y agoThe article does talk about anyhow (maybe it was updated?) but yeah, no thiserror seems like a big omission. thiserror is how you solve the problem of exposing your own error types in your public API without pulling your hair out.