Macro etrace::new_err_with [−][src]
macro_rules! new_err_with { ($kind:expr, $description:expr, $suberr:expr) => { ... }; ($kind:expr, $suberr:expr) => { ... }; ($suberr:expr) => { ... }; }
Creates a new error containing the underlaying error
Use new_err_with(error)
to create an error with the same kind and an automatic description
or use
new_err_with(kind, error)
to provide a new error-kind or use
new_err_with(kind, description, error)
to provide a new error-kind with an explicit
description