py-libp2p/libp2p/protocol_muxer/exceptions.py

10 lines
267 B
Python
Raw Normal View History

from libp2p.exceptions import BaseLibp2pError
class MultiselectError(BaseLibp2pError):
"""Raised when an error occurs in multiselect process"""
class MultiselectClientError(BaseLibp2pError):
"""Raised when an error occurs in protocol selection process"""