Ë
    sPêj­  ã                   ó^  — d Z ddlmZ  G d„ de«      Z G d„ de«      Z G d„ de«      Z G d	„ d
e«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z	 G d„ de«      Z
 G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ d e«      Zy!)"zU
Exceptions relating to specific conditions that occur when modelling CycloneDX BOM.
é   )ÚCycloneDxExceptionc                   ó   — e Zd ZdZy)ÚCycloneDxModelExceptionz]
    Base exception that covers all exceptions that may be thrown during model creation.
    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    ú^/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/cyclonedx/exception/model.pyr   r      ó   „ ñð 	r   r   c                   ó   — e Zd Zy)ÚInvalidValueExceptionN)r   r   r	   r   r   r   r   r   !   s   „ Ør   r   c                   ó   — e Zd ZdZy)ÚInvalidLocaleTypeExceptionam  
    Raised when the supplied locale does not conform to ISO-639 specification.

    Good examples:
        - en
        - en-US
        - en-GB
        - fr
        - fr-CA

    The language code MUST be lowercase. If the country code is specified, the country code MUST be upper case.
    The language code and country code MUST be separated by a minus sign.
    Nr   r   r   r   r   r   %   s   „ ñð 	r   r   c                   ó   — e Zd ZdZy)Ú(InvalidNistQuantumSecurityLevelExceptiona  
    Raised when an invalid value is provided for an NIST Quantum Security Level
    as defined at https://csrc.nist.gov/projects/post-quantum-cryptography/post-quantum-cryptography-standardization/
    evaluation-criteria/security-(evaluation-criteria).
    Nr   r   r   r   r   r   6   s   „ ñð
 	r   r   c                   ó   — e Zd ZdZy)ÚInvalidOmniBorIdExceptionzª
    Raised when a supplied value for an OmniBOR ID does not meet the format requirements
    as defined at https://www.iana.org/assignments/uri-schemes/prov/gitoid.
    Nr   r   r   r   r   r   ?   ó   „ ñð 	r   r   c                   ó   — e Zd ZdZy)Ú)InvalidRelatedCryptoMaterialSizeExceptionzQ
    Raised when the supplied size of a Related Crypto Material is negative.
    Nr   r   r   r   r   r   G   r   r   r   c                   ó   — e Zd ZdZy)ÚInvalidSwhidExceptionzº
    Raised when a supplied value for an Swhid does not meet the format requirements
    as defined at https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html.
    Nr   r   r   r   r   r   N   r   r   r   c                   ó   — e Zd ZdZy)ÚInvalidUriExceptionzR
    Raised when a `str` is provided that needs to be a valid URI, but isn't.
    Nr   r   r   r   r   r   V   r   r   r   c                   ó   — e Zd ZdZy)Ú$MutuallyExclusivePropertiesExceptionzA
    Raised when mutually exclusive properties are provided.
    Nr   r   r   r   r   r   ]   r   r   r   c                   ó   — e Zd ZdZy)ÚNoPropertiesProvidedExceptionz¥
    Raised when attempting to construct a model class and providing NO values (where all properites are defined as
    Optional, but at least one is required).
    Nr   r   r   r   r!   r!   d   r   r   r!   c                   ó   — e Zd ZdZy)Ú#UnknownComponentDependencyExceptionzw
    Exception raised when a dependency has been noted for a Component that is NOT a Component BomRef in this Bom.
    Nr   r   r   r   r#   r#   l   r   r   r#   c                   ó   — e Zd ZdZy)ÚUnknownHashTypeExceptionzi
    Exception raised when we are unable to determine the type of hash from a composite hash string.
    Nr   r   r   r   r%   r%   s   r   r   r%   c                   ó   — e Zd ZdZy)Ú)LicenseExpressionAlongWithOthersExceptionzÕ
    Exception raised when a LicenseExpression was detected along with other licenses.
    If a LicenseExpression exists, than it must stand alone.

    See https://github.com/CycloneDX/specification/pull/205
    Nr   r   r   r   r'   r'   z   s   „ ñð 	r   r'   c                   ó   — e Zd ZdZy)ÚInvalidCreIdExceptionz�
    Raised when a supplied value for an CRE ID does not meet the format requirements
    as defined at https://opencre.org/
    Nr   r   r   r   r)   r)   „   r   r   r)   c                   ó   — e Zd ZdZy)ÚInvalidConfidenceExceptionz�
    Raised when an invalid value is provided for a Confidence.
    The confidence of the evidence from 0 - 1, where 1 is 100% confidence.
    Nr   r   r   r   r+   r+   Œ   r   r   r+   N)r
   Ú r   r   r   r   r   r   r   r   r   r   r!   r#   r%   r'   r)   r+   r   r   r   ú<module>r-      sÒ   ðñ&õ !ô	Ð0ô 	ô	Ð3ô 	ô	Ð!8ô 	ô"	Ð/Fô 	ô	Ð 7ô 	ô	Ð0Gô 	ô	Ð3ô 	ô	Ð1ô 	ô	Ð+Bô 	ô	Ð$;ô 	ô	Ð*Aô 	ô	Ð6ô 	ô	Ð0Gô 	ô	Ð3ô 	ô	Ð!8õ 	r   