aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_errors.h
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-06-04 18:59:47 -0400
committerThomas Winget <tewinget@gmail.com>2014-06-12 19:05:51 -0400
commit4f382b383005d09f6056371d0fecdc8b6ce37a08 (patch)
treeaf6a07f7b59bb432891ec0bf47772e3517a17c1d /src/wallet/wallet_errors.h
parentadded vim swap files to .gitignore (diff)
downloadmonero-4f382b383005d09f6056371d0fecdc8b6ce37a08.tar.xz
most functions prototyped/modified for wallet recovery
Diffstat (limited to 'src/wallet/wallet_errors.h')
-rw-r--r--src/wallet/wallet_errors.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h
index 0d42dbaf4..71c946545 100644
--- a/src/wallet/wallet_errors.h
+++ b/src/wallet/wallet_errors.h
@@ -188,6 +188,17 @@ namespace tools
std::string to_string() const { return wallet_logic_error::to_string(); }
};
+
+ //----------------------------------------------------------------------------------------------------
+ struct invalid_pregenerated_random : public wallet_logic_error
+ {
+ explicit invalid_pregenerated_random (std::string&& loc)
+ : wallet_logic_error(std::move(loc), "invalid pregenerated random for wallet creation/recovery")
+ {
+ }
+
+ std::string to_string() const { return wallet_logic_error::to_string(); }
+ };
//----------------------------------------------------------------------------------------------------
struct refresh_error : public wallet_logic_error
{