change `SecioError` and `NoiseError` to descendants of `LPStreamError` (#1047)

This commit is contained in:
Etan Kissling 2024-03-04 00:04:25 +01:00 committed by GitHub
parent 42cd78e95b
commit 1609fd7197
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -73,7 +73,7 @@ type
writerCoder: SecureCipher
readerCoder: SecureCipher
SecioError* = object of LPError
SecioError* = object of LPStreamError
func shortLog*(conn: SecioConn): auto =
try: