aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_error_codes.h
diff options
context:
space:
mode:
authorMichał Sałaban <michal@salaban.info>2017-10-23 04:27:02 +0200
committerMichał Sałaban <michal@salaban.info>2017-10-23 04:27:02 +0200
commitfab3b7221b75adb5a27870f4608a8348f8f38402 (patch)
tree76bc3aa51a280b1710583022ed68e83c1691711e /src/wallet/wallet_rpc_server_error_codes.h
parentMerge pull request #2601 (diff)
downloadmonero-fab3b7221b75adb5a27870f4608a8348f8f38402.tar.xz
Add more specific RPC error codes
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