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

18 lines
238 B
Python
Raw Normal View History

2019-09-05 22:29:33 +08:00
from libp2p.exceptions import BaseLibp2pError
class MplexError(BaseLibp2pError):
pass
2019-09-06 01:08:42 +08:00
class MplexStreamReset(MplexError):
2019-09-05 22:29:33 +08:00
pass
2019-09-06 01:08:42 +08:00
class MplexStreamEOF(MplexError, EOFError):
pass
class MplexShutdown(MplexError):
2019-08-12 14:45:30 +08:00
pass