#macro #failure #helper

xfailure

Additional helper macros for failure

1 unstable release

Uses old Rust 2015

0.1.0 Dec 31, 2017

#65 in #failure

Download history 22/week @ 2024-04-15 31/week @ 2024-04-22 25/week @ 2024-04-29 28/week @ 2024-05-06 33/week @ 2024-05-13 23/week @ 2024-05-20 33/week @ 2024-05-27 25/week @ 2024-06-03 15/week @ 2024-06-10 19/week @ 2024-06-17 33/week @ 2024-06-24 9/week @ 2024-07-08 24/week @ 2024-07-15 17/week @ 2024-07-22 23/week @ 2024-07-29

73 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