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
|