use LPError

This commit is contained in:
Diego 2024-10-14 19:00:22 +02:00
parent 2cc5b4315f
commit 1d0fa54230
No known key found for this signature in database
GPG Key ID: C9DAC9BF68D1F806
1 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ import mbedtls/debug
import mbedtls/error
import nimcrypto/utils
import ../../crypto/crypto
import ../../errors
logScope:
topics = "libp2p tls certificate"
@ -42,7 +43,7 @@ const
# Exception types for TLS certificate errors
type
TLSCertificateError* = object of Exception
TLSCertificateError* = object of LPError
ASN1EncodingError* = object of TLSCertificateError
KeyGenerationError* = object of TLSCertificateError
CertificateCreationError* = object of TLSCertificateError