[][src]Macro cargo_intraconv::code_error

macro_rules! code_error {
    ($code: expr, $value:expr, $($arg:tt)*) => { ... };
}

Unwraps the result in the second argument, printing the error and exiting the current process with the given error code if it is an Err.

Will add a -- error: {error} at the end of the given error text.