py-libp2p/libp2p/network/exceptions.py
mhchia 16a4fd33c1
PR feedbacks
- Move exceptions to exceptions.py
- Raise `UpgradeFailure` in upgrader
- Refine the try/catch for upgraders in swarm
2019-08-22 22:53:49 +08:00

6 lines
96 B
Python

from libp2p.exceptions import BaseLibp2pError
class SwarmException(BaseLibp2pError):
pass