Macro vipers::program_err [−][src]
macro_rules! program_err {
($error : tt $(,) ?) => { ... };
}
Expand description
Returns the given error as a program error.
Example
if fail {
return program_err!(MyError);
}
Ok(())
macro_rules! program_err {
($error : tt $(,) ?) => { ... };
}
Returns the given error as a program error.
if fail {
return program_err!(MyError);
}
Ok(())