Expand description
Untyped exceptions handling mechanism.
Re-exports§
Modules§
- exposed
- Exposed namespace of the module.
- orphan
- Shared with parent namespace of the module
- own
- Own namespace of the module.
- prelude
- Prelude to use essentials:
use my_module::prelude::*
.
Macros§
- bail
- Return early with an error.
- ensure
- Return early with an error if a condition is not satisfied.
- format_
err - Construct an ad-hoc error from a string or existing non-
anyhow
error value. - return_
err - Return early with an error.
Structs§
- Chain
- Iterator of a chain of source errors.
- Error
- The
Error
type, a wrapper around a dynamic error type.
Traits§
- Context
- Provides the
context
method forResult
.
Functions§
- Ok
- Equivalent to
Ok::<_, anyhow::Error>(value)
.
Type Aliases§
- Result
Result<T, Error>