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
Instead of implementing the From-trait manually, I would recommend using thiserror crate https://docs.rs/thiserror/latest/thiserror/
This would get rid of most of the boilerplate code in the error types.
The text was updated successfully, but these errors were encountered:
Initially I did this to avoid a dependency, however I think you're right that using thiserror makes sense to avoid the boilerplate. So I will change this.
Instead of implementing the From-trait manually, I would recommend using thiserror crate https://docs.rs/thiserror/latest/thiserror/
This would get rid of most of the boilerplate code in the error types.
The text was updated successfully, but these errors were encountered: