errprint

Macro errprint 

Source
macro_rules! errprint {
    ($kind:ty$(, $format_str:expr$(, $val:expr )* )?) => { ... };
}
Expand description

println! with Master Error

errprint!(err::MyError1);
errprint!(err::MyError2, "cannot find.");
errprint!(err::MyError3, "{} is {}", "bar", 2);