Commit Graph

6 Commits

Author SHA1 Message Date
94483714a3 run lint and fix errors, except mypy 2024-02-19 16:05:58 -07:00
c44be5e247 Add OpenConnectionError for base transport 2019-09-19 21:23:01 +08:00
d6dda91482 Move HandshakeFailure to libp2p.security 2019-09-16 19:09:09 +08:00
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
3e04480d62 Raise HandshakeFailure in transport
Change the exception handling flow.
Raise `SecurityUpgradeFailure` in security_multistream.
2019-08-22 22:53:48 +08:00
5768daa9bf PR feedbacks
- Nits
- Add `SecurityUpgradeFailure` and handle `UpgradeFailure` in Swarm.
2019-08-22 22:53:47 +08:00