New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement anyhow
and thiserror
#90
Conversation
243da1d
to
aa02975
Compare
aa02975
to
b903876
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall
However the CHANGELOG.md update is required before merge
In addition I have a doubt about the wrong password handling
The rest are minor nits and leftover
b903876
to
2532b66
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but few comments needs to be addressed.
Also in general I would have preferred have two PRs, one solely for the Error Handling, but it's okay for this time.
However, you need to have at least two separate commits for that.
The commit messages should looks like
Implement `anyhow` and `thiserror`
- Change error handling to use the `anyhow` crate in `bin`
- Change error handling to use the `thiserror` crate in `lib`
Resolves #87
And the other:
Improve UX on password's retrying scenarios
- Change program behavior to quit if wrong seed phrase is given [#49]
- Change program behavior to have three attempts for entering a password [#46]
Resolves #46, #49
5155526
to
51f9bd7
Compare
anyhow
and thiserror
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
• Change error handling to use the `anyhow` crate in `bin` • Change error handling to use the `thiserror` crate in `lib` Resolves #87
51f9bd7
to
4a2d602
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Changed
• Change error handling to use the
anyhow
crate inbin
• Change error handling to use the
thiserror
crate inlib
Resolves #87