You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
This is a nice refactoring task that can hopefully be done incrementally. In a nutshell, it allows you to always use the same Error type as a return value (failure::Error) as long as all your custom errors implement failure::Fail. This should get rid of all your From implementations of the errors.
The text was updated successfully, but these errors were encountered:
Heads up, failure crate users, especially library authors! The failure crate is starting to fall by the wayside, since std::error::Error is being fixed to provide the same benefits of failure::Fail, so its usage is being increasingly discouraged in the Rust ecosystem. See this issue for details: rust-lang/rust#53487
https://boats.gitlab.io/failure/intro.html
This is a nice refactoring task that can hopefully be done incrementally. In a nutshell, it allows you to always use the same
Error
type as a return value (failure::Error
) as long as all your custom errors implementfailure::Fail
. This should get rid of all yourFrom
implementations of the errors.The text was updated successfully, but these errors were encountered: