Coverage for pki_tools/exceptions.py: 100%
16 statements
« prev ^ index » next coverage.py v7.14.3, created at 2026-11-02 22:00 +0000
« prev ^ index » next coverage.py v7.14.3, created at 2026-11-02 22:00 +0000
1class Error(Exception):
2 """
3 Error is the base pki_tools exception
4 """
7class ExtensionMissing(Error):
8 """
9 ExtensionMissing
10 """
13class OcspFetchFailure(Error):
14 """
15 OcspFetchFailure
16 """
19class FetchFailure(Error):
20 """
21 FetchFailure
22 """
25class OcspInvalidResponseStatus(Error):
26 """
27 OcspInvalidResponseStatus
28 """
31class OcspIssuerFetchFailure(Error):
32 """
33 OcspIssuerFetchFailure
34 """
37class LoadError(Error):
38 """
39 Risen when a IoCryptoParser implementing class could not be
40 loaded properly.
41 """
44class RevokeCheckFailed(Error):
45 """
46 RevokeCheckFailed
47 """
50class CertIssuerMissingInChain(Error):
51 """
52 CertIssuerMissingInChain
53 """
56class NotCompleteChain(Error):
57 """
58 NotCompleteChain
59 """
62class CertExpired(Error):
63 """
64 CertExpired
65 """
68class SignatureVerificationFailed(Error):
69 """
70 SignatureVerificationFailed
71 """
74class InvalidSignedType(Error):
75 """
76 InvalidSignedType
77 """
80class MissingInit(Error):
81 """
82 Risen when the
83 [InitCryptoParser][pki_tools.types.crypto_parser.InitCryptoParser]
84 has not been initialized.
85 """
88class MissingBlockSize(Error):
89 """
90 MissingBlockSize
91 """
94class CrlIdpInvalid(Error):
95 """
96 CrlIdpInvalid
97 """