mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Recognize "TX not possible" exception
This commit is contained in:
parent
02a599e9ad
commit
0d0cc34353
2 changed files with 4 additions and 0 deletions
|
@ -174,6 +174,7 @@ _err2exc = {
|
|||
-2: exceptions.WrongAddress,
|
||||
-4: exceptions.NotEnoughUnlockedMoney,
|
||||
-5: exceptions.WrongPaymentId,
|
||||
-16: exceptions.TransactionNotPossible,
|
||||
-20: exceptions.AmountIsZero,
|
||||
-32601: MethodNotFound,
|
||||
}
|
||||
|
|
|
@ -21,3 +21,6 @@ class NotEnoughUnlockedMoney(NotEnoughMoney):
|
|||
|
||||
class AmountIsZero(AccountException):
|
||||
pass
|
||||
|
||||
class TransactionNotPossible(AccountException):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue