Skip to content

Commit 901dcdc

Browse files
feat: expand the capabilities of models.definition.Standard (#713)
--------- Signed-off-by: Hakan Dilek <[email protected]> Signed-off-by: Jan Kowalleck <[email protected]> Co-authored-by: Jan Kowalleck <[email protected]>
1 parent 3369a6a commit 901dcdc

18 files changed

+993
-252
lines changed

cyclonedx/exception/model.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,11 @@ class LicenseExpressionAlongWithOthersException(CycloneDxModelException):
123123
See https://github.com/CycloneDX/specification/pull/205
124124
"""
125125
pass
126+
127+
128+
class InvalidCreIdException(CycloneDxModelException):
129+
"""
130+
Raised when a supplied value for an CRE ID does not meet the format requirements
131+
as defined at https://opencre.org/
132+
"""
133+
pass

0 commit comments

Comments
 (0)