Ë
    Ã?Æi¤	  ã                  óŠ   — d Z ddlmZ g d¢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)zŒCollection of exceptions.

The validation functions of stdnum should raise one of the below exceptions
when validation of the number fails.
é    )Úannotations)ÚValidationErrorÚInvalidFormatÚInvalidChecksumÚInvalidLengthÚInvalidComponentc                  ó   — e Zd ZdZdd„Zy)r   z�Top-level error for validating numbers.

    This exception should normally not be raised, only subclasses of this
    exception.c                ó\   — dj                  | j                  dd «      xs t        | dd«      S )zReturn the exception message.Ú Né   Úmessage)ÚjoinÚargsÚgetattr)Úselfs    úX/var/www/html/myprovider/mon_projet_qr/lib/python3.12/site-packages/stdnum/exceptions.pyÚ__str__zValidationError.__str__(   s)   € à�w‰w�t—y‘y  !�}Ó%ÒE¬°°yÀ"Ó)EÐEó    N)ÚreturnÚstr)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   © r   r   r   r   "   s   „ ñô
Fr   r   c                  ó   — e Zd ZdZdZy)r   z³Something is wrong with the format of the number.

    This generally means characters or delimiters that are not allowed are
    part of the number or required parts are missing.z!The number has an invalid format.N©r   r   r   r   r   r   r   r   r   r   -   s   „ ñ9ð
 2�Gr   r   c                  ó   — e Zd ZdZdZy)r   z=The number's internal checksum or check digit does not match.z0The number's checksum or check digit is invalid.Nr   r   r   r   r   r   6   s
   „ ÙGà@�Gr   r   c                  ó   — e Zd ZdZdZy)r   z"The length of the number is wrong.z!The number has an invalid length.Nr   r   r   r   r   r   <   s
   „ Ù,à1�Gr   r   c                  ó   — e Zd ZdZdZy)r   zêOne of the parts of the number has an invalid reference.

    Some part of the number refers to some external entity like a country
    code, a date or a predefined collection of values. The number contains
    some invalid reference.z6One of the parts of the number are invalid or unknown.Nr   r   r   r   r   r   B   s   „ ñð G�Gr   r   N)
r   Ú
__future__r   Ú__all__Ú
ValueErrorr   r   r   r   r   r   r   r   ú<module>r$      sX   ðñ*õ #ò0€ôF�jô Fô2�Oô 2ôA�oô Aô2�Mô 2ôG�õ Gr   