#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 2/week @ 2024-11-13 16/week @ 2024-11-20 16/week @ 2024-11-27 24/week @ 2024-12-04 35/week @ 2024-12-11 9/week @ 2024-12-18 1/week @ 2024-12-25 7/week @ 2025-01-01 2/week @ 2025-01-08 8/week @ 2025-01-15 10/week @ 2025-01-22 78/week @ 2025-02-05 28/week @ 2025-02-12 14/week @ 2025-02-19 15/week @ 2025-02-26

135 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