mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-28 04:20:39 +00:00
chore: use LPError
This commit is contained in:
parent
e4268e61d4
commit
859047329a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user