[][src]Macro stakker::ret_panic

macro_rules! ret_panic {
    ($arg:expr) => { ... };
}

Create a Ret instance which panics when called

This example is not tested
ret_panic!(panic_msg)

Ignores the case where the Ret instance is dropped. Argument will typically be a String or &str. Note that this will receive and ignore any message type. Implemented using Ret::panic.