py-libp2p/libp2p/protocol_muxer/exceptions.py

14 lines
398 B
Python
Raw Normal View History

from libp2p.exceptions import BaseLibp2pError
2019-09-15 16:37:37 +08:00
class MultiselectCommunicatorError(BaseLibp2pError):
"""Raised when an error occurs during read/write via communicator."""
2019-09-15 16:37:37 +08:00
class MultiselectError(BaseLibp2pError):
"""Raised when an error occurs in multiselect process."""
class MultiselectClientError(BaseLibp2pError):
"""Raised when an error occurs in protocol selection process."""