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.
- err
- throw
Structs§
- Chain
- Iterator of a chain of source errors.
- Error
- The
Errortype, a wrapper around a dynamic error type.
Constants§
Traits§
- Context
- Provides the
contextmethod forResult.
Functions§
- Ok
- Equivalent to
Ok::<_, anyhow::Error>(value).