[−][src]Macro witcher::wrap
wrap!
behaves much like the venerable bail!
but wraps an external error
It also provides a variation to allow for format!() type formatting.
Examples
ⓘThis example is not tested
wrap!(std::io::Error::new(std::io::ErrorKind::Other, "oh no!"), "wrapper msg");