mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
18 lines
226 B
Python
18 lines
226 B
Python
from libp2p.io.exceptions import IOException
|
|
|
|
|
|
class StreamError(IOException):
|
|
pass
|
|
|
|
|
|
class StreamEOF(StreamError, EOFError):
|
|
pass
|
|
|
|
|
|
class StreamReset(StreamError):
|
|
pass
|
|
|
|
|
|
class StreamClosed(StreamError):
|
|
pass
|