py-libp2p/libp2p/stream_muxer/mplex/exceptions.py

33 lines
488 B
Python
Raw Normal View History

2019-09-09 15:45:35 +08:00
from libp2p.stream_muxer.exceptions import (
2019-09-12 17:09:11 +08:00
MuxedConnClosed,
2019-09-09 15:45:35 +08:00
MuxedConnError,
MuxedConnShuttingDown,
2019-09-09 15:45:35 +08:00
MuxedStreamClosed,
MuxedStreamEOF,
MuxedStreamReset,
)
2019-09-05 22:29:33 +08:00
2019-09-09 15:45:35 +08:00
class MplexError(MuxedConnError):
2019-09-05 22:29:33 +08:00
pass
class MplexShuttingDown(MuxedConnShuttingDown):
pass
class MplexClosed(MuxedConnClosed):
2019-09-05 22:29:33 +08:00
pass
2019-09-09 15:45:35 +08:00
class MplexStreamReset(MuxedStreamReset):
2019-09-06 01:08:42 +08:00
pass
2019-09-09 15:45:35 +08:00
class MplexStreamEOF(MuxedStreamEOF):
pass
class MplexStreamClosed(MuxedStreamClosed):
2019-08-12 14:45:30 +08:00
pass