Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Improve error reporting for some subcommands #49

Merged
merged 17 commits into from
Nov 5, 2018

Conversation

mzabaluev
Copy link
Contributor

Removed deep exits and direct use of Term::fail_with in various places.
Mostly centered on the "wallet" subcommand in this PR.

Mikhail Zabaluev added 16 commits November 1, 2018 19:31
No deep exits, please, and no pre-guessing errors that
Blockchain::load() might encounter.
Not that there are any errors at the moment.
Don't use the language safety feature to designate actions that
need user confirmation.
Instead of unwrapping the optional block address, display an alternate
text if it is None.
Putting more generic From-able errors up front.
Generalized handling of BIP44 errors, which can also occur in "sync",
with a From impl.
@NicolasDP NicolasDP added this to the alpha3 milestone Nov 5, 2018
@NicolasDP NicolasDP added the enhancement New feature or request label Nov 5, 2018
This is some replacement for the former unsafe-as-note-to-ourselves
declaration of the method.
@NicolasDP NicolasDP merged commit d6077d8 into input-output-hk:master Nov 5, 2018
@mzabaluev mzabaluev deleted the improve-error-reporting branch November 5, 2018 09:41
@mzabaluev mzabaluev restored the improve-error-reporting branch November 5, 2018 09:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants