Closed RCasatta closed 3 years ago
Great idea! The ChecksumMismatch
error message has been bugging me for some time now, and I think a more user-friendly explanation as to what is going on is a really good thing.
This one probably needs rebasing after the force-push on #22
rebased
Description
This removes some unwraps in favor of ? during handling of the commands.
During development I frequently hit ChecksumMismatch while changing the descriptor and keeping the same wallet name, I imagined users may be confused so I detailed the message.
Notes to the reviewers
On top of #22
Error handling is a little nicer for end-user but it comes at the expense of losing stacktrace information in case of errors, so it may be controversial. However, we are now writing blog post and expanding user base so I think it is better.
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committingNew Features:
CHANGELOG.md