mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
PR feedbacks
- Nits - Add `SecurityUpgradeFailure` and handle `UpgradeFailure` in Swarm.
This commit is contained in:
7
libp2p/transport/exceptions.py
Normal file
7
libp2p/transport/exceptions.py
Normal file
@ -0,0 +1,7 @@
|
||||
# TODO: Add `BaseLibp2pError` and `UpgradeFailure` can inherit from it?
|
||||
class UpgradeFailure(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class SecurityUpgradeFailure(UpgradeFailure):
|
||||
pass
|
||||
Reference in New Issue
Block a user