Expand description
§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());