mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Add OpenConnectionError for base transport
This commit is contained in:
@ -1,7 +1,10 @@
|
||||
from libp2p.exceptions import BaseLibp2pError
|
||||
|
||||
|
||||
# TODO: Add `BaseLibp2pError` and `UpgradeFailure` can inherit from it?
|
||||
class OpenConnectionError(BaseLibp2pError):
|
||||
pass
|
||||
|
||||
|
||||
class UpgradeFailure(BaseLibp2pError):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user