Restructure mplex and mplex_stream

This commit is contained in:
mhchia
2019-09-05 22:29:33 +08:00
parent 96230758e4
commit eac159c527
4 changed files with 55 additions and 71 deletions

View File

@ -1,2 +1,13 @@
class StreamNotFound(Exception):
from libp2p.exceptions import BaseLibp2pError
class MplexError(BaseLibp2pError):
pass
class MplexShutdown(MplexError):
pass
class StreamNotFound(MplexError):
pass