py-libp2p/libp2p/transport/exceptions.py

18 lines
262 B
Python

from libp2p.exceptions import BaseLibp2pError
class OpenConnectionError(BaseLibp2pError):
pass
class UpgradeFailure(BaseLibp2pError):
pass
class SecurityUpgradeFailure(UpgradeFailure):
pass
class MuxerUpgradeFailure(UpgradeFailure):
pass