common_failures - diffferent expectation
Closed this issue · 3 comments
Given that error-chains quick-error presents the whole chain of failure causes, I expected this to be the same for common_failures
but it only displays the top level error cause.
There was a ticket for failure
showing various approaches:
rust-lang-deprecated/failure#76
As you can see here, the quick_error!
macro calls display_causes_and_backtrace
, which in turn loops over and displays all causes.
Could you please provide some more detail about what you're seeing here? What happens if you manually print the cause
of your error?
I'll double check, but I am pretty positive the result - given I provided context - was only one level deep. Verifying version too.
The common_failures
crate has been deprecated, because failure
has been deprecated. Sorry we never figured this out!