1 unstable release

0.1.0 May 25, 2022

#3 in #quit

MIT license

3KB

rage_quit

Documentation

A stupid rust macro crate with forwards for panic and catch_unwind.


lib.rs:

Printing flipping tables and catching tables before panic / catch_unwind

This crate allows to use the macros rage_quit and catch_table Example for panic:

use rage_quit::rage_quit;
rage_quit!("Use me instead of panic!");

Example for catching a panic:

use rage_quit::{catch_table, rage_quit};
assert!(catch_table!(|| {
            rage_quit!("Le wild rage quit appeared!");
        })
        .is_err());

No runtime deps