forked from LBRYCommunity/lbry-sdk
a8a581d35c
# Conflicts: # lbrynet/conf.py # lbrynet/core/Error.py # lbrynet/lbrynet_daemon/Daemon.py # lbrynet/lbrynet_daemon/DaemonControl.py # lbrynet/lbrynet_daemon/ExchangeRateManager.py
106 lines
1.6 KiB
Python
106 lines
1.6 KiB
Python
class PriceDisagreementError(Exception):
|
|
pass
|
|
|
|
|
|
class DuplicateStreamHashError(Exception):
|
|
pass
|
|
|
|
|
|
class DownloadCanceledError(Exception):
|
|
pass
|
|
|
|
|
|
class RequestCanceledError(Exception):
|
|
pass
|
|
|
|
|
|
class InsufficientFundsError(Exception):
|
|
pass
|
|
|
|
|
|
class ConnectionClosedBeforeResponseError(Exception):
|
|
pass
|
|
|
|
|
|
class KeyFeeAboveMaxAllowed(Exception):
|
|
pass
|
|
|
|
|
|
class UnknownNameError(Exception):
|
|
def __init__(self, name):
|
|
self.name = name
|
|
|
|
def __str__(self):
|
|
return repr(self.name)
|
|
|
|
|
|
class InvalidNameError(Exception):
|
|
def __init__(self, name):
|
|
self.name = name
|
|
|
|
def __str__(self):
|
|
return repr(self.name)
|
|
|
|
|
|
class UnknownStreamTypeError(Exception):
|
|
def __init__(self, stream_type):
|
|
self.stream_type = stream_type
|
|
|
|
def __str__(self):
|
|
return repr(self.stream_type)
|
|
|
|
|
|
class InvalidStreamDescriptorError(Exception):
|
|
pass
|
|
|
|
|
|
class InvalidStreamInfoError(Exception):
|
|
def __init__(self, name):
|
|
self.name = name
|
|
|
|
def __str__(self):
|
|
return repr(self.name)
|
|
|
|
|
|
class MisbehavingPeerError(Exception):
|
|
pass
|
|
|
|
|
|
class InvalidDataError(MisbehavingPeerError):
|
|
pass
|
|
|
|
|
|
class NoResponseError(MisbehavingPeerError):
|
|
pass
|
|
|
|
|
|
class InvalidResponseError(MisbehavingPeerError):
|
|
pass
|
|
|
|
|
|
class NoSuchBlobError(Exception):
|
|
pass
|
|
|
|
|
|
class NoSuchStreamHashError(Exception):
|
|
pass
|
|
|
|
|
|
class InvalidBlobHashError(Exception):
|
|
pass
|
|
|
|
|
|
class InvalidHeaderError(Exception):
|
|
pass
|
|
|
|
|
|
class InvalidAuthenticationToken(Exception):
|
|
pass
|
|
|
|
|
|
class SubhandlerError(Exception):
|
|
pass
|
|
|
|
|
|
class NegotiationError(Exception):
|
|
pass
|