#helper #macro #failure

xfailure

Additional helper macros for failure

1 unstable release

Uses old Rust 2015

0.1.0 Dec 31, 2017

#59 in #failure

43 downloads per month
Used in 8 crates (via sightglass)

ISC license

2KB

xfailure

The bail! macro from the failure crate doesn't behave in an intuitive way, and returns a string instead of the actual error.

This situation may change in the future. Meanwhile, this trivial crate provides an xbail! macro that acts like error_chain's bail! macro.

xfailure is also available on crates.io.

No runtime deps