Electroneum
wallet_rpc_server_error_codes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WALLET_RPC_ERROR_CODE_UNKNOWN_ERROR   -1
 
#define WALLET_RPC_ERROR_CODE_WRONG_ADDRESS   -2
 
#define WALLET_RPC_ERROR_CODE_DAEMON_IS_BUSY   -3
 
#define WALLET_RPC_ERROR_CODE_GENERIC_TRANSFER_ERROR   -4
 
#define WALLET_RPC_ERROR_CODE_WRONG_PAYMENT_ID   -5
 
#define WALLET_RPC_ERROR_CODE_TRANSFER_TYPE   -6
 
#define WALLET_RPC_ERROR_CODE_DENIED   -7
 
#define WALLET_RPC_ERROR_CODE_WRONG_TXID   -8
 
#define WALLET_RPC_ERROR_CODE_WRONG_SIGNATURE   -9
 
#define WALLET_RPC_ERROR_CODE_WRONG_KEY_IMAGE   -10
 
#define WALLET_RPC_ERROR_CODE_WRONG_URI   -11
 
#define WALLET_RPC_ERROR_CODE_WRONG_INDEX   -12
 
#define WALLET_RPC_ERROR_CODE_NOT_OPEN   -13
 
#define WALLET_RPC_ERROR_CODE_ACCOUNT_INDEX_OUT_OF_BOUNDS   -14
 
#define WALLET_RPC_ERROR_CODE_ADDRESS_INDEX_OUT_OF_BOUNDS   -15
 
#define WALLET_RPC_ERROR_CODE_TX_NOT_POSSIBLE   -16
 
#define WALLET_RPC_ERROR_CODE_NOT_ENOUGH_ETN   -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
 
#define WALLET_RPC_ERROR_CODE_NO_TXKEY   -24
 
#define WALLET_RPC_ERROR_CODE_WRONG_KEY   -25
 
#define WALLET_RPC_ERROR_CODE_BAD_HEX   -26
 
#define WALLET_RPC_ERROR_CODE_BAD_TX_METADATA   -27
 
#define WALLET_RPC_ERROR_CODE_ALREADY_MULTISIG   -28
 
#define WALLET_RPC_ERROR_CODE_WATCH_ONLY   -29
 
#define WALLET_RPC_ERROR_CODE_BAD_MULTISIG_INFO   -30
 
#define WALLET_RPC_ERROR_CODE_NOT_MULTISIG   -31
 
#define WALLET_RPC_ERROR_CODE_WRONG_LR   -32
 
#define WALLET_RPC_ERROR_CODE_THRESHOLD_NOT_REACHED   -33
 
#define WALLET_RPC_ERROR_CODE_BAD_MULTISIG_TX_DATA   -34
 
#define WALLET_RPC_ERROR_CODE_MULTISIG_SIGNATURE   -35
 
#define WALLET_RPC_ERROR_CODE_MULTISIG_SUBMISSION   -36
 
#define WALLET_RPC_ERROR_CODE_NOT_ENOUGH_UNLOCKED_ETN   -37
 
#define WALLET_RPC_ERROR_CODE_NO_DAEMON_CONNECTION   -38
 
#define WALLET_RPC_ERROR_CODE_BAD_UNSIGNED_TX_DATA   -39
 
#define WALLET_RPC_ERROR_CODE_BAD_SIGNED_TX_DATA   -40
 
#define WALLET_RPC_ERROR_CODE_SIGNED_SUBMISSION   -41
 
#define WALLET_RPC_ERROR_CODE_SIGN_UNSIGNED   -42
 
#define WALLET_RPC_ERROR_CODE_NON_DETERMINISTIC   -43
 
#define WALLET_RPC_ERROR_CODE_INVALID_LOG_LEVEL   -44
 

Macro Definition Documentation

◆ WALLET_RPC_ERROR_CODE_ACCOUNT_INDEX_OUT_OF_BOUNDS

#define WALLET_RPC_ERROR_CODE_ACCOUNT_INDEX_OUT_OF_BOUNDS   -14

Definition at line 48 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_ADDRESS_INDEX_OUT_OF_BOUNDS

#define WALLET_RPC_ERROR_CODE_ADDRESS_INDEX_OUT_OF_BOUNDS   -15

Definition at line 49 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_ALREADY_MULTISIG

#define WALLET_RPC_ERROR_CODE_ALREADY_MULTISIG   -28

Definition at line 62 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_BAD_HEX

#define WALLET_RPC_ERROR_CODE_BAD_HEX   -26

Definition at line 60 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_BAD_MULTISIG_INFO

#define WALLET_RPC_ERROR_CODE_BAD_MULTISIG_INFO   -30

Definition at line 64 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_BAD_MULTISIG_TX_DATA

#define WALLET_RPC_ERROR_CODE_BAD_MULTISIG_TX_DATA   -34

Definition at line 68 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_BAD_SIGNED_TX_DATA

#define WALLET_RPC_ERROR_CODE_BAD_SIGNED_TX_DATA   -40

Definition at line 74 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_BAD_TX_METADATA

#define WALLET_RPC_ERROR_CODE_BAD_TX_METADATA   -27

Definition at line 61 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_BAD_UNSIGNED_TX_DATA

#define WALLET_RPC_ERROR_CODE_BAD_UNSIGNED_TX_DATA   -39

Definition at line 73 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_DAEMON_IS_BUSY

#define WALLET_RPC_ERROR_CODE_DAEMON_IS_BUSY   -3

Definition at line 37 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_DENIED

#define WALLET_RPC_ERROR_CODE_DENIED   -7

Definition at line 41 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_GENERIC_TRANSFER_ERROR

#define WALLET_RPC_ERROR_CODE_GENERIC_TRANSFER_ERROR   -4

Definition at line 38 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_INVALID_LOG_LEVEL

#define WALLET_RPC_ERROR_CODE_INVALID_LOG_LEVEL   -44

Definition at line 78 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_INVALID_PASSWORD

#define WALLET_RPC_ERROR_CODE_INVALID_PASSWORD   -22

Definition at line 56 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_MULTISIG_SIGNATURE

#define WALLET_RPC_ERROR_CODE_MULTISIG_SIGNATURE   -35

Definition at line 69 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_MULTISIG_SUBMISSION

#define WALLET_RPC_ERROR_CODE_MULTISIG_SUBMISSION   -36

Definition at line 70 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_NO_DAEMON_CONNECTION

#define WALLET_RPC_ERROR_CODE_NO_DAEMON_CONNECTION   -38

Definition at line 72 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_NO_TXKEY

#define WALLET_RPC_ERROR_CODE_NO_TXKEY   -24

Definition at line 58 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_NO_WALLET_DIR

#define WALLET_RPC_ERROR_CODE_NO_WALLET_DIR   -23

Definition at line 57 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_NON_DETERMINISTIC

#define WALLET_RPC_ERROR_CODE_NON_DETERMINISTIC   -43

Definition at line 77 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_NOT_ENOUGH_ETN

#define WALLET_RPC_ERROR_CODE_NOT_ENOUGH_ETN   -17

Definition at line 51 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_NOT_ENOUGH_OUTS_TO_MIX

#define WALLET_RPC_ERROR_CODE_NOT_ENOUGH_OUTS_TO_MIX   -19

Definition at line 53 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_NOT_ENOUGH_UNLOCKED_ETN

#define WALLET_RPC_ERROR_CODE_NOT_ENOUGH_UNLOCKED_ETN   -37

Definition at line 71 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_NOT_MULTISIG

#define WALLET_RPC_ERROR_CODE_NOT_MULTISIG   -31

Definition at line 65 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_NOT_OPEN

#define WALLET_RPC_ERROR_CODE_NOT_OPEN   -13

Definition at line 47 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_SIGN_UNSIGNED

#define WALLET_RPC_ERROR_CODE_SIGN_UNSIGNED   -42

Definition at line 76 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_SIGNED_SUBMISSION

#define WALLET_RPC_ERROR_CODE_SIGNED_SUBMISSION   -41

Definition at line 75 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_THRESHOLD_NOT_REACHED

#define WALLET_RPC_ERROR_CODE_THRESHOLD_NOT_REACHED   -33

Definition at line 67 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_TRANSFER_TYPE

#define WALLET_RPC_ERROR_CODE_TRANSFER_TYPE   -6

Definition at line 40 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_TX_NOT_POSSIBLE

#define WALLET_RPC_ERROR_CODE_TX_NOT_POSSIBLE   -16

Definition at line 50 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_TX_TOO_LARGE

#define WALLET_RPC_ERROR_CODE_TX_TOO_LARGE   -18

Definition at line 52 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_UNKNOWN_ERROR

#define WALLET_RPC_ERROR_CODE_UNKNOWN_ERROR   -1

Definition at line 35 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_WALLET_ALREADY_EXISTS

#define WALLET_RPC_ERROR_CODE_WALLET_ALREADY_EXISTS   -21

Definition at line 55 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_WATCH_ONLY

#define WALLET_RPC_ERROR_CODE_WATCH_ONLY   -29

Definition at line 63 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_WRONG_ADDRESS

#define WALLET_RPC_ERROR_CODE_WRONG_ADDRESS   -2

Definition at line 36 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_WRONG_INDEX

#define WALLET_RPC_ERROR_CODE_WRONG_INDEX   -12

Definition at line 46 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_WRONG_KEY

#define WALLET_RPC_ERROR_CODE_WRONG_KEY   -25

Definition at line 59 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_WRONG_KEY_IMAGE

#define WALLET_RPC_ERROR_CODE_WRONG_KEY_IMAGE   -10

Definition at line 44 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_WRONG_LR

#define WALLET_RPC_ERROR_CODE_WRONG_LR   -32

Definition at line 66 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_WRONG_PAYMENT_ID

#define WALLET_RPC_ERROR_CODE_WRONG_PAYMENT_ID   -5

Definition at line 39 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_WRONG_SIGNATURE

#define WALLET_RPC_ERROR_CODE_WRONG_SIGNATURE   -9

Definition at line 43 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_WRONG_TXID

#define WALLET_RPC_ERROR_CODE_WRONG_TXID   -8

Definition at line 42 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_WRONG_URI

#define WALLET_RPC_ERROR_CODE_WRONG_URI   -11

Definition at line 45 of file wallet_rpc_server_error_codes.h.

◆ WALLET_RPC_ERROR_CODE_ZERO_DESTINATION

#define WALLET_RPC_ERROR_CODE_ZERO_DESTINATION   -20

Definition at line 54 of file wallet_rpc_server_error_codes.h.