4 ms·
Yes, nice intro to errors, and nothing new. I would have liked a small conclusion under the chapter that names thiserror, anyhow and eyre, arguing why you migh
by sshine 3y ago
Yes, nice intro to errors, and nothing new.
I would have liked a small conclusion under the chapter that names thiserror, anyhow and eyre, arguing why you might pick one library over another, and which one to pick if you don't have any requirements (anyhow). This blog post compares the two first with examples on when they're neat and cumbersome:
https://www.shakacode.com/blog/thiserror-anyhow-or-how-i-handle-errors-in-rust-apps/ https://www.shakacode.com/blog/thiserror-anyhow-or-how-i-han...