mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-03 16:44:41 +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
|
readCs: CipherState
|
||||||
writeCs: CipherState
|
writeCs: CipherState
|
||||||
|
|
||||||
NoiseError* = object of LPError
|
NoiseError* = object of LPStreamError
|
||||||
NoiseHandshakeError* = object of NoiseError
|
NoiseHandshakeError* = object of NoiseError
|
||||||
NoiseDecryptTagError* = object of NoiseError
|
NoiseDecryptTagError* = object of NoiseError
|
||||||
NoiseOversizedPayloadError* = object of NoiseError
|
NoiseOversizedPayloadError* = object of NoiseError
|
||||||
|
@ -73,7 +73,7 @@ type
|
|||||||
writerCoder: SecureCipher
|
writerCoder: SecureCipher
|
||||||
readerCoder: SecureCipher
|
readerCoder: SecureCipher
|
||||||
|
|
||||||
SecioError* = object of LPError
|
SecioError* = object of LPStreamError
|
||||||
|
|
||||||
func shortLog*(conn: SecioConn): auto =
|
func shortLog*(conn: SecioConn): auto =
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user