mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
wallet-rpc: rename *_INDEX_OUTOFBOUND into *_INDEX_OUT_OF_BOUNDS
This commit is contained in:
parent
ed67e5c001
commit
7712509644
@ -2439,12 +2439,12 @@ namespace tools
|
|||||||
}
|
}
|
||||||
catch (const error::account_index_outofbound& e)
|
catch (const error::account_index_outofbound& e)
|
||||||
{
|
{
|
||||||
er.code = WALLET_RPC_ERROR_CODE_ACCOUNT_INDEX_OUTOFBOUND;
|
er.code = WALLET_RPC_ERROR_CODE_ACCOUNT_INDEX_OUT_OF_BOUNDS;
|
||||||
er.message = e.what();
|
er.message = e.what();
|
||||||
}
|
}
|
||||||
catch (const error::address_index_outofbound& e)
|
catch (const error::address_index_outofbound& e)
|
||||||
{
|
{
|
||||||
er.code = WALLET_RPC_ERROR_CODE_ADDRESS_INDEX_OUTOFBOUND;
|
er.code = WALLET_RPC_ERROR_CODE_ADDRESS_INDEX_OUT_OF_BOUNDS;
|
||||||
er.message = e.what();
|
er.message = e.what();
|
||||||
}
|
}
|
||||||
catch (const std::exception& e)
|
catch (const std::exception& e)
|
||||||
|
@ -44,8 +44,8 @@
|
|||||||
#define WALLET_RPC_ERROR_CODE_WRONG_URI -11
|
#define WALLET_RPC_ERROR_CODE_WRONG_URI -11
|
||||||
#define WALLET_RPC_ERROR_CODE_WRONG_INDEX -12
|
#define WALLET_RPC_ERROR_CODE_WRONG_INDEX -12
|
||||||
#define WALLET_RPC_ERROR_CODE_NOT_OPEN -13
|
#define WALLET_RPC_ERROR_CODE_NOT_OPEN -13
|
||||||
#define WALLET_RPC_ERROR_CODE_ACCOUNT_INDEX_OUTOFBOUND -14
|
#define WALLET_RPC_ERROR_CODE_ACCOUNT_INDEX_OUT_OF_BOUNDS -14
|
||||||
#define WALLET_RPC_ERROR_CODE_ADDRESS_INDEX_OUTOFBOUND -15
|
#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_TX_NOT_POSSIBLE -16
|
||||||
#define WALLET_RPC_ERROR_CODE_NOT_ENOUGH_MONEY -17
|
#define WALLET_RPC_ERROR_CODE_NOT_ENOUGH_MONEY -17
|
||||||
#define WALLET_RPC_ERROR_CODE_TX_TOO_LARGE -18
|
#define WALLET_RPC_ERROR_CODE_TX_TOO_LARGE -18
|
||||||
|
Loading…
Reference in New Issue
Block a user