mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
37 lines
759 B
Python
37 lines
759 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
|