py-libp2p/libp2p/stream_muxer/mplex/exceptions.py
2019-09-06 01:08:42 +08:00

18 lines
238 B
Python

from libp2p.exceptions import BaseLibp2pError
class MplexError(BaseLibp2pError):
pass
class MplexStreamReset(MplexError):
pass
class MplexStreamEOF(MplexError, EOFError):
pass
class MplexShutdown(MplexError):
pass