#macro #failure #helper

xfailure

Additional helper macros for failure

1 unstable release

Uses old Rust 2015

0.1.0 Dec 31, 2017

#62 in #failure

Download history 20/week @ 2023-12-13 13/week @ 2023-12-20 1/week @ 2023-12-27 3/week @ 2024-01-03 13/week @ 2024-01-10 30/week @ 2024-01-17 6/week @ 2024-01-24 1/week @ 2024-01-31 11/week @ 2024-02-07 26/week @ 2024-02-14 24/week @ 2024-02-21 45/week @ 2024-02-28 57/week @ 2024-03-06 30/week @ 2024-03-13 31/week @ 2024-03-20 32/week @ 2024-03-27

154 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