Skip to content
Myr

Provide format_err macro

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 791754e · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:src/lib.rs+2 added
180 unmodified lines
181use std::error::Error as StdError;182use std::fmt::Display;183use std::mem::ManuallyDrop;184185pub use anyhow as format_err;186187/// The `Error` type, a wrapper around a dynamic error type.188///189/// `Error` works a lot like `Box<dyn std::error::Error>`, but with these190/// differences:
257 unmodified lines