23 lines
407 B
Python
23 lines
407 B
Python
class BaseKademliaException(Exception):
|
|
pass
|
|
|
|
|
|
class DecodeError(BaseKademliaException):
|
|
"""
|
|
Should be raised by an C{Encoding} implementation if decode operation
|
|
fails
|
|
"""
|
|
|
|
|
|
class BucketFull(BaseKademliaException):
|
|
"""
|
|
Raised when the bucket is full
|
|
"""
|
|
|
|
|
|
class RemoteException(BaseKademliaException):
|
|
pass
|
|
|
|
|
|
class TransportNotConnected(BaseKademliaException):
|
|
pass
|