-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: more details on errors during upgrade (#34)
- Loading branch information
Showing
2 changed files
with
35 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
"""Errors that can occur on upgrade.""" | ||
|
||
|
||
class UpgradeError(Exception): | ||
pass | ||
"""Raised on error during upgrade.""" | ||
|
||
|
||
class MissingWalletError(UpgradeError): | ||
pass | ||
"""Raised when a wallet is missing from the wallet keys input.""" | ||
|
||
|
||
class DecryptionFailedError(UpgradeError): | ||
"""Raised when unable to decrypt an item from the source wallet.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters