anyhow
No written verdict yet. Here is what commenters said.
Why people recommend it
“Or just go with Anyhow until you find a need for something else.”
Show 3 more
“thiserror¹ for libraries, anyhow² for applications”
“exn benefits something from anyhow”
“anyhow` and `thiserror` have been around for a number of years now and shows no signs of going away”
Caveats and dissent
“I wouldn't want to see anyhow, thiserror, anything opinionated”
“or just use opaque errors like the anyhow crate. The downside is that these approaches lose type information”
Show 2 more
“just as broken as thiserror and anyhow”
“Nowadays I try to avoid all of these libraries (failure, anyhow, thiserror, etc.)”
Often compared with
Threads where it came up
- Rust Errors Without Dependencies 4 mentions
- Migrating from Go to Rust 3 mentions
- Stop Forwarding Errors, Start Designing Them 3 mentions
- Malicious Rust Crate Arrayref Runs a Build-Time Payload 1 mention
- An Incoherent Rust 1 mention
- Banned C++ Features in Chromium 1 mention
Data: anyhow.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.
All comments 18
“I wouldn't want to see anyhow, thiserror, anything opinionated”
“Anyhow is perhaps the closest one to another paradigm”
“I use anyhow for this”
“Or just go with Anyhow until you find a need for something else.”
“or just use opaque errors like the anyhow crate. The downside is that these approaches lose type information”
“Where people use things like anyhow.”
“thiserror¹ for libraries, anyhow² for applications”
“That error type can then be used with `anyhow` or `exn`.”
“exn benefits something from anyhow”
“just as broken as thiserror and anyhow”
“I usually use `anyhow` to do that for me”
“This is more something I wanted to do and not something I recommend for everyone.”
“anyhow` and `thiserror` have been around for a number of years now and shows no signs of going away”
“Nowadays I try to avoid all of these libraries (failure, anyhow, thiserror, etc.)”
“I believe `anyhow` can mostly do the same.”
“no anyhow”
“even adding in some anyhow::context goes a long way”
“taught me a lot about thiserror / anyhow and why good context matters”