Closed trevyn closed 3 years ago
I'm :+1: on exploring replacements for failure
here. We have had multiple iterations of our error handling, none of which have felt 100% right.
And we are definitely not the only rust project to struggle with this.
PR in progress: #3633
Per its README, the
failure
crate is deprecated:I agree with the suggestion to migrate to
anyhow
andthiserror
, and will investigate it unless anyone has other suggestions or objections.Investigating on branch https://github.com/trevyn/grin/tree/trevyn-deprecate-failure. To do:
#[derive(Fail)]
to#[derive(thiserror::Error)]
Error
/ErrorKind
pattern — is this still required withthiserror
?