Skip to content

Commit be8a55f

Browse files
committed
Refactored to match the expected schema type
Signed-off-by: Jacob Wahlman <[email protected]>
1 parent 1942d3c commit be8a55f

File tree

5 files changed

+453
-387
lines changed

5 files changed

+453
-387
lines changed

cyclonedx/exception/model.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,20 @@ class InvalidNistQuantumSecurityLevelException(CycloneDxModelException):
5454
pass
5555

5656

57-
class InvalidEvidenceConfidenceScore(CycloneDxModelException):
57+
class InvalidComponentIdentityEvidenceConfidenceScore(CycloneDxModelException):
5858
"""
5959
Raised when an invalid value is provided for a confidence score for Component Evidence.
6060
"""
6161
pass
6262

6363

64+
class InvalidComponentIdentityEvidenceMethodConfidenceScore(CycloneDxModelException):
65+
"""
66+
Raised when an invalid value is provided for a confidence score for Component Evidence Method.
67+
"""
68+
pass
69+
70+
6471
class InvalidOmniBorIdException(CycloneDxModelException):
6572
"""
6673
Raised when a supplied value for an OmniBOR ID does not meet the format requirements

0 commit comments

Comments
 (0)