anyhow
Flexible app errors.
Flexible Application Errors
In application code you often just want errors to bubble up with context, without defining a typed enum for each. The anyhow crate provides one easy error type for exactly that.
Adding anyhow
Add it as a dependency. It pairs well with thiserror: thiserror for libraries, anyhow for binaries.
[dependencies]
anyhow = "1.0"