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
|