dynerr
macro_rules! dynerr { ($e:expr) => { ... }; }
a macro for returning custom errors as dynamic errors
#Example
if x > 3 {dynerr!(MyError::CustomError("x less than 3"))}