py-libp2p/libp2p/stream_muxer/mplex/exceptions.py
2019-09-10 18:01:14 +08:00

28 lines
408 B
Python

from libp2p.stream_muxer.exceptions import (
MuxedConnError,
MuxedConnShutdown,
MuxedStreamClosed,
MuxedStreamEOF,
MuxedStreamReset,
)
class MplexError(MuxedConnError):
pass
class MplexShutdown(MuxedConnShutdown):
pass
class MplexStreamReset(MuxedStreamReset):
pass
class MplexStreamEOF(MuxedStreamEOF):
pass
class MplexStreamClosed(MuxedStreamClosed):
pass