shared_failure
This crate aims to provide a convenient and lightweight way to clone errors and share them across thread-boundaries.
It is designed to be used in conjunction with the
failure
crate.
Example
let custom_error = new;
let shared_error = from_fail;
// can be cloned, even though std::io::Error does not impl Clone
let cloned_error = shared_error.clone;
assert_eq!;
assert_eq!;
assert_eq!;