Macro stakker::fwd_panic

source ·
macro_rules! fwd_panic {
    ($arg:expr) => { ... };
}
Expand description

Create a Fwd instance which panics when called

fwd_panic!(panic_msg)

Argument will typically be a String or &str. Note that this will receive and ignore any message type. Implemented using Fwd::panic.