aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_error_codes.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-10-31 20:35:41 +0200
committerRiccardo Spagni <ric@spagni.net>2017-10-31 20:35:41 +0200
commit5ef9c69ef5d7d3322b17bc6dbfc3209e164ac570 (patch)
tree8e34dba86d5a9ed09654814e76ee3caf9eaaa81d /src/wallet/wallet_rpc_server_error_codes.h
parentMerge pull request #2737 (diff)
parentAdd more specific RPC error codes (diff)
downloadmonero-5ef9c69ef5d7d3322b17bc6dbfc3209e164ac570.tar.xz
Merge pull request #2711
fab3b722 Add more specific RPC error codes (Michał Sałaban)
Diffstat (limited to 'src/wallet/wallet_rpc_server_error_codes.h')
-rw-r--r--src/wallet/wallet_rpc_server_error_codes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_error_codes.h b/src/wallet/wallet_rpc_server_error_codes.h
index cc9fd3856..e74e9110b 100644
--- a/src/wallet/wallet_rpc_server_error_codes.h
+++ b/src/wallet/wallet_rpc_server_error_codes.h
@@ -46,3 +46,11 @@
#define WALLET_RPC_ERROR_CODE_NOT_OPEN -13
#define WALLET_RPC_ERROR_CODE_ACCOUNT_INDEX_OUTOFBOUND -14
#define WALLET_RPC_ERROR_CODE_ADDRESS_INDEX_OUTOFBOUND -15
+#define WALLET_RPC_ERROR_CODE_TX_NOT_POSSIBLE -16
+#define WALLET_RPC_ERROR_CODE_NOT_ENOUGH_MONEY -17
+#define WALLET_RPC_ERROR_CODE_TX_TOO_LARGE -18
+#define WALLET_RPC_ERROR_CODE_NOT_ENOUGH_OUTS_TO_MIX -19
+#define WALLET_RPC_ERROR_CODE_ZERO_DESTINATION -20
+#define WALLET_RPC_ERROR_CODE_WALLET_ALREADY_EXISTS -21
+#define WALLET_RPC_ERROR_CODE_INVALID_PASSWORD -22
+#define WALLET_RPC_ERROR_CODE_NO_WALLET_DIR -23