[][src]Macro dynerr::dynerr

macro_rules! dynerr {
    ($e:expr) => { ... };
}

a macro for returning custom errors as dynamic errors

#Example

This example is not tested
if x > 3 {dynerr!(MyError::CustomError("x less than 3"))}