Have StreamError inherit from IOException

This commit is contained in:
NIC619 2019-09-15 16:34:16 +08:00
parent 7483da762e
commit 68573e94d3
No known key found for this signature in database
GPG Key ID: 570C35F5C2D51B17

View File

@ -1,7 +1,7 @@
from libp2p.exceptions import BaseLibp2pError
from libp2p.io.exceptions import IOException
class StreamError(BaseLibp2pError):
class StreamError(IOException):
pass