mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Add exception
This commit is contained in:
parent
d44d4fd2ac
commit
e55e2239b1
2 changed files with 4 additions and 0 deletions
|
@ -408,6 +408,7 @@ class MethodNotFound(RPCError):
|
|||
|
||||
_err2exc = {
|
||||
-2: exceptions.WrongAddress,
|
||||
-4: exceptions.GenericTransferError,
|
||||
-5: exceptions.WrongPaymentId,
|
||||
-8: exceptions.TransactionNotFound,
|
||||
-9: exceptions.SignatureCheckFailed,
|
||||
|
|
|
@ -41,3 +41,6 @@ class SignatureCheckFailed(MoneroException):
|
|||
|
||||
class WalletIsNotDeterministic(MoneroException):
|
||||
pass
|
||||
|
||||
class GenericTransferError(AccountException):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue