Re-exports§
pub use anyhow::anyhow as format_err;
Macros§
- anyhow
- Construct an ad-hoc error from a string or existing non-
anyhowerror value. - bail
- Return early with an error.
- ensure
- Return early with an error if a condition is not satisfied.
Structs§
- Chain
- Iterator of a chain of source errors.
- Error
- The
Errortype, a wrapper around a dynamic error type.
Traits§
- Context
- Provides the
contextmethod forResult.
Functions§
- Ok
- Equivalent to
Ok::<_, anyhow::Error>(value).
Type Aliases§
- Result
Result<T, Error>