mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
16 lines
237 B
Python
16 lines
237 B
Python
from libp2p.exceptions import BaseLibp2pError
|
|
|
|
|
|
class HostException(BaseLibp2pError):
|
|
"""
|
|
A generic exception in `IHost`.
|
|
"""
|
|
|
|
|
|
class ConnectionFailure(HostException):
|
|
pass
|
|
|
|
|
|
class StreamFailure(HostException):
|
|
pass
|