mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
44 lines
873 B
Python
44 lines
873 B
Python
class MoneroException(Exception):
|
|
pass
|
|
|
|
class BackendException(MoneroException):
|
|
pass
|
|
|
|
class NoDaemonConnection(BackendException):
|
|
pass
|
|
|
|
class AccountException(MoneroException):
|
|
pass
|
|
|
|
class WrongAddress(AccountException):
|
|
pass
|
|
|
|
class WrongPaymentId(AccountException):
|
|
pass
|
|
|
|
class NotEnoughMoney(AccountException):
|
|
pass
|
|
|
|
class NotEnoughUnlockedMoney(NotEnoughMoney):
|
|
pass
|
|
|
|
class AmountIsZero(AccountException):
|
|
pass
|
|
|
|
class TransactionNotPossible(AccountException):
|
|
pass
|
|
|
|
class TransactionBroadcastError(BackendException):
|
|
def __init__(self, message, details=None):
|
|
self.details = details
|
|
super(TransactionBroadcastError, self).__init__(message)
|
|
|
|
class TransactionNotFound(AccountException):
|
|
pass
|
|
|
|
class SignatureCheckFailed(MoneroException):
|
|
pass
|
|
|
|
class WalletIsNotDeterministic(MoneroException):
|
|
pass
|