Macro etrace::throw_err [−][src]
macro_rules! throw_err { ($kind:expr, $description:expr) => { ... }; ($kind:expr) => { ... }; }
Creates a new error and returns it (return Err(created_error)
)
Use throw_err!(kind)
to create an error with an automatically created description or use
throw_err!(kind, description)
to provide an explicit description