failure
failure copied to clipboard
Unclear how to wrap around errors
Is there a way to wrap around other errors, and have them as causes? .context
adds context to an error, but it loses type-ness. Is there a way to add a variant to your failure that wraps around other error?
I am missing this as well. I would really like to replicate the chain_err
behavior of error-chain
. context
seems to be the closest there is, with the downside that the type information is lost.