Add OpenConnectionError
for base transport
This commit is contained in:
parent
7243eb9766
commit
c44be5e247
|
@ -1,7 +1,10 @@
|
||||||
from libp2p.exceptions import BaseLibp2pError
|
from libp2p.exceptions import BaseLibp2pError
|
||||||
|
|
||||||
|
|
||||||
# TODO: Add `BaseLibp2pError` and `UpgradeFailure` can inherit from it?
|
class OpenConnectionError(BaseLibp2pError):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class UpgradeFailure(BaseLibp2pError):
|
class UpgradeFailure(BaseLibp2pError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user