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,
|
2019-09-12 17:07:41 +08:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2019-09-12 17:07:41 +08:00
|
|
|
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
|