Macro dfir_rs::rassert

source ยท
macro_rules! rassert {
    ($cond:expr $(,)?) => { ... };
    ($cond:expr, $fmt:literal) => { ... };
    ($cond:expr, $fmt:literal, $($arg:tt)*) => { ... };
}
Expand description

assert! but returns a [Result<(), String>] instead of panicking.