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
When this project was started failure was the way to go. However, time has moved on and the current recommendation for error handling seems to be thiserror. It would be nice to update all crates in this project to the latter. See #9 (comment) for some recent discussions on this topic.
The text was updated successfully, but these errors were encountered:
Some additional thoughts: I believe we could leave failure in for the non-library crates. The structured information thiserror provides is most useful for library consumers. For applications we can provide the same information as text to the user.
I think the commonly recommended library for applications is anyhow which depends on thiserror. I think its fine to only migrate some of the sub-crates for now, though, and leave others still on failure.
When this project was started
failure
was the way to go. However, time has moved on and the current recommendation for error handling seems to bethiserror
. It would be nice to update all crates in this project to the latter. See #9 (comment) for some recent discussions on this topic.The text was updated successfully, but these errors were encountered: