mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
SecioException inherit from HandshakeFailure
This commit is contained in:
@ -1,4 +1,7 @@
|
|||||||
class SecioException(Exception):
|
from libp2p.security.exceptions import HandshakeFailure
|
||||||
|
|
||||||
|
|
||||||
|
class SecioException(HandshakeFailure):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
@ -19,9 +22,5 @@ class InvalidSignatureOnExchange(SecioException):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class HandshakeFailed(SecioException):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class IncompatibleChoices(SecioException):
|
class IncompatibleChoices(SecioException):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user