mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-11-27 09:33:54 +01:00
More helpful error message on recover when wallet_data dir doesn't exist (#134)
* make recover error message when wallet doesn't exist more helpful * rustfmt
This commit is contained in:
@@ -57,6 +57,10 @@ pub enum ErrorKind {
|
||||
#[fail(display = "Wallet seed doesn't exist error")]
|
||||
WalletSeedDoesntExist,
|
||||
|
||||
/// Wallet seed doesn't exist
|
||||
#[fail(display = "Wallet doesn't exist at {}. {}", _0, _1)]
|
||||
WalletDoesntExist(String, String),
|
||||
|
||||
/// Enc/Decryption Error
|
||||
#[fail(display = "Enc/Decryption error (check password?)")]
|
||||
Encryption,
|
||||
|
||||
Reference in New Issue
Block a user