mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Add detection for disconnections in mplex
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
from libp2p.stream_muxer.exceptions import (
|
||||
MuxedConnClosed,
|
||||
MuxedConnError,
|
||||
MuxedConnShuttingDown,
|
||||
MuxedConnUnavailable,
|
||||
MuxedStreamClosed,
|
||||
MuxedStreamEOF,
|
||||
MuxedStreamReset,
|
||||
@ -12,11 +11,7 @@ class MplexError(MuxedConnError):
|
||||
pass
|
||||
|
||||
|
||||
class MplexShuttingDown(MuxedConnShuttingDown):
|
||||
pass
|
||||
|
||||
|
||||
class MplexClosed(MuxedConnClosed):
|
||||
class MplexUnavailable(MuxedConnUnavailable):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user