mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Add new RPC error code pending as PR
This commit is contained in:
parent
915590780f
commit
d0dd554e38
2 changed files with 6 additions and 2 deletions
|
@ -361,7 +361,8 @@ _err2exc = {
|
|||
-16: exceptions.TransactionNotPossible,
|
||||
-17: exceptions.NotEnoughMoney,
|
||||
-20: exceptions.AmountIsZero,
|
||||
-37: exceptions.NotEnoughUnlockedMoney, # PR pending: https://github.com/monero-project/monero/pull/3197
|
||||
-38: exceptions.NoDaemonConnection, # PR 3197
|
||||
-37: exceptions.NotEnoughUnlockedMoney,
|
||||
-38: exceptions.NoDaemonConnection,
|
||||
-43: exceptions.WalletIsNotDeterministic, # https://github.com/monero-project/monero/pull/4653
|
||||
-32601: MethodNotFound,
|
||||
}
|
||||
|
|
|
@ -38,3 +38,6 @@ class TransactionNotFound(AccountException):
|
|||
|
||||
class SignatureCheckFailed(MoneroException):
|
||||
pass
|
||||
|
||||
class WalletIsNotDeterministic(MoneroException):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue