[][src]Crate anyhow

This library provides anyhow::Error, a trait object based error type for easy idiomatic error handling in Rust applications.


Details

Re-exports

pub use anyhow as format_err;

Macros

anyhow

Construct an ad-hoc error from a string.

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 Error type, a wrapper around a dynamic error type.

Traits

Context

Provides the context method for Result.

Type Definitions

Result

Result<T, Error>