mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-24 19:59:53 +00:00
change SecioError
and NoiseError
to descendants of LPStreamError
(#1047)
This commit is contained in:
parent
42cd78e95b
commit
1609fd7197
@ -89,7 +89,7 @@ type
|
||||
readCs: CipherState
|
||||
writeCs: CipherState
|
||||
|
||||
NoiseError* = object of LPError
|
||||
NoiseError* = object of LPStreamError
|
||||
NoiseHandshakeError* = object of NoiseError
|
||||
NoiseDecryptTagError* = object of NoiseError
|
||||
NoiseOversizedPayloadError* = object of NoiseError
|
||||
|
@ -73,7 +73,7 @@ type
|
||||
writerCoder: SecureCipher
|
||||
readerCoder: SecureCipher
|
||||
|
||||
SecioError* = object of LPError
|
||||
SecioError* = object of LPStreamError
|
||||
|
||||
func shortLog*(conn: SecioConn): auto =
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user