2019-09-09 15:45:35 +08:00
|
|
|
from libp2p.exceptions import BaseLibp2pError
|
|
|
|
|
|
|
|
|
|
|
|
class MuxedConnError(BaseLibp2pError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2019-09-13 15:29:24 +08:00
|
|
|
class MuxedConnUnavailable(MuxedConnError):
|
2019-09-09 15:45:35 +08:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class MuxedStreamError(BaseLibp2pError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class MuxedStreamReset(MuxedStreamError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class MuxedStreamEOF(MuxedStreamError, EOFError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class MuxedStreamClosed(MuxedStreamError):
|
|
|
|
pass
|