mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +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
|
||||
|
||||
|
||||
@ -19,9 +22,5 @@ class InvalidSignatureOnExchange(SecioException):
|
||||
pass
|
||||
|
||||
|
||||
class HandshakeFailed(SecioException):
|
||||
pass
|
||||
|
||||
|
||||
class IncompatibleChoices(SecioException):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user