mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
20 lines
235 B
Python
20 lines
235 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
|