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

28 lines
417 B
Python
Raw Normal View History

2019-09-09 15:45:35 +08:00
from libp2p.stream_muxer.exceptions import (
MuxedConnError,
MuxedConnUnavailable,
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 MplexUnavailable(MuxedConnUnavailable):
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