rustmax

Module anyhow

Source
Expand description

Easy error handling.

See crate ::anyhow.

Macros§

  • Construct an ad-hoc error from a string or existing non-anyhow error value.
  • Return early with an error.
  • Return early with an error if a condition is not satisfied.
  • Construct an ad-hoc error from a string or existing non-anyhow error value.

Structs§

  • Iterator of a chain of source errors.
  • The Error type, a wrapper around a dynamic error type.

Traits§

  • Provides the context method for Result.

Functions§

  • Equivalent to Ok::<_, anyhow::Error>(value).

Type Aliases§