ó
    Ú°›j~  ã                  óÞ  • S SK Jr  S SKJr   " S S\5      r " S S\\5      r " S S\5      r " S	 S
\5      r	 " S S\5      r
 " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r " S! S"\\5      r " S# S$\5      r " S% S&\5      r " S' S(\\5      r " S) S*\\\5      rg+),é    )Úannotations)Ú
Collectionc                  ó   • \ rS rSrSrg)ÚTOMLKitErroré   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__static_attributes__r   ó    ÚO/home/mande/repo/quber/.venv/lib/python3.13/site-packages/tomlkit/exceptions.pyr   r      s   † Úr   r   c                  ó\   ^ • \ rS rSrSrSSU 4S jjjr\S	S j5       r\S	S j5       rSr	U =r
$ )
Ú
ParseErroré
   z³
This error occurs when the parser encounters a syntax error
in the TOML being parsed. The error references the line and
location within the line where the error was encountered.
c                ó~   >• Xl         X l        Uc  Sn[        TU ]  U SU R                    SU R                   35        g )NzTOML parse errorz	 at line z col )Ú_lineÚ_colÚsuperÚ__init__©ÚselfÚlineÚcolÚmessageÚ	__class__s       €r   r   ÚParseError.__init__   s=   ø€ ØŒ
ØŒ	à‰?Ø(ˆGä‰Ñ˜G˜9 I¨d¯j©j¨\¸¸t¿y¹y¸kÐJÕKr   c                ó   • U R                   $ ©N)r   ©r   s    r   r   ÚParseError.line   s   € à�z‰zÐr   c                ó   • U R                   $ r    )r   r!   s    r   r   ÚParseError.col   s   € à�y‰yÐr   )r   r   r    ©r   Úintr   r&   r   z
str | NoneÚreturnÚNone)r'   r&   )r	   r
   r   r   Ú__doc__r   Úpropertyr   r   r   Ú__classcell__©r   s   @r   r   r   
   s<   ø† ñ÷Lñ Lð óó ðð óó ör   r   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚMixedArrayTypesErroré#   z8
An array was found that had two or more element types.
c                ó&   >• Sn[         TU ]  XUS9  g )NzMixed types found in array©r   ©r   r   r   s       €r   r   ÚMixedArrayTypesError.__init__(   s   ø€ Ø.ˆä‰Ñ˜¨GÐÒ4r   r   ©r   r&   r   r&   r'   r(   ©r	   r
   r   r   r)   r   r   r+   r,   s   @r   r.   r.   #   ó   ø† ñ÷5õ 5r   r.   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚInvalidNumberErroré.   z+
A numeric field was improperly specified.
c                ó&   >• Sn[         TU ]  XUS9  g )NzInvalid numberr1   r2   r   s       €r   r   ÚInvalidNumberError.__init__3   s   ø€ Ø"ˆä‰Ñ˜¨GÐÒ4r   r   r4   r5   r,   s   @r   r8   r8   .   r6   r   r8   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚInvalidDateTimeErroré9   z,
A datetime field was improperly specified.
c                ó&   >• Sn[         TU ]  XUS9  g )NzInvalid datetimer1   r2   r   s       €r   r   ÚInvalidDateTimeError.__init__>   ó   ø€ Ø$ˆä‰Ñ˜¨GÐÒ4r   r   r4   r5   r,   s   @r   r=   r=   9   r6   r   r=   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚInvalidDateErroréD   ú(
A date field was improperly specified.
c                ó&   >• Sn[         TU ]  XUS9  g )NzInvalid dater1   r2   r   s       €r   r   ÚInvalidDateError.__init__I   ó   ø€ Ø ˆä‰Ñ˜¨GÐÒ4r   r   r4   r5   r,   s   @r   rC   rC   D   r6   r   rC   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚInvalidTimeErroréO   rE   c                ó&   >• Sn[         TU ]  XUS9  g )NzInvalid timer1   r2   r   s       €r   r   ÚInvalidTimeError.__init__T   rH   r   r   r4   r5   r,   s   @r   rJ   rJ   O   r6   r   rJ   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚInvalidNumberOrDateErroréZ   z3
A numeric or date field was improperly specified.
c                ó&   >• Sn[         TU ]  XUS9  g )NzInvalid number or date formatr1   r2   r   s       €r   r   Ú!InvalidNumberOrDateError.__init___   s   ø€ Ø1ˆä‰Ñ˜¨GÐÒ4r   r   r4   r5   r,   s   @r   rO   rO   Z   r6   r   rO   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚInvalidUnicodeValueErrorée   z*
A unicode code was improperly specified.
c                ó&   >• Sn[         TU ]  XUS9  g )NzInvalid unicode valuer1   r2   r   s       €r   r   Ú!InvalidUnicodeValueError.__init__j   s   ø€ Ø)ˆä‰Ñ˜¨GÐÒ4r   r   r4   r5   r,   s   @r   rT   rT   e   r6   r   rT   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚUnexpectedCharErrorép   z3
An unexpected character was found during parsing.
c                ó.   >• SU< 3n[         TU ]  XUS9  g )NzUnexpected character: r1   r2   ©r   r   r   Úcharr   r   s        €r   r   ÚUnexpectedCharError.__init__u   s!   ø€ Ø*¨4©(Ð3ˆä‰Ñ˜¨GÐÒ4r   r   ©r   r&   r   r&   r]   Ústrr'   r(   r5   r,   s   @r   rY   rY   p   r6   r   rY   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚEmptyKeyErroré{   z(
An empty key was found during parsing.
c                ó&   >• Sn[         TU ]  XUS9  g )Nz	Empty keyr1   r2   r   s       €r   r   ÚEmptyKeyError.__init__€   s   ø€ Øˆä‰Ñ˜¨GÐÒ4r   r   r4   r5   r,   s   @r   rb   rb   {   r6   r   rb   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚEmptyTableNameErroré†   z/
An empty table name was found during parsing.
c                ó&   >• Sn[         TU ]  XUS9  g )NzEmpty table namer1   r2   r   s       €r   r   ÚEmptyTableNameError.__init__‹   rA   r   r   r4   r5   r,   s   @r   rg   rg   †   r6   r   rg   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚInvalidCharInStringErroré‘   z8
The string being parsed contains an invalid character.
c                ó0   >• SU< S3n[         TU ]  XUS9  g )NzInvalid character z
 in stringr1   r2   r\   s        €r   r   Ú!InvalidCharInStringError.__init__–   s#   ø€ Ø& t¡h¨jÐ9ˆä‰Ñ˜¨GÐÒ4r   r   r_   r5   r,   s   @r   rl   rl   ‘   r6   r   rl   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚUnexpectedEofErroréœ   z<
The TOML being parsed ended before the end of a statement.
c                ó&   >• Sn[         TU ]  XUS9  g )NzUnexpected end of filer1   r2   r   s       €r   r   ÚUnexpectedEofError.__init__¡   s   ø€ Ø*ˆä‰Ñ˜¨GÐÒ4r   r   r4   r5   r,   s   @r   rq   rq   œ   r6   r   rq   c                  ó4   ^ • \ rS rSrSrSSU 4S jjjrSrU =r$ )ÚInternalParserErroré§   z.
An error that indicates a bug in the parser.
c                óF   >• SnU(       a	  USU S3-  n[         TU ]  XUS9  g )NzInternal parser errorz (Ú)r1   r2   )r   r   r   r   Úmsgr   s        €r   r   ÚInternalParserError.__init__¬   s/   ø€ Ø%ˆÞØ�R˜�y �?Ñ"ˆCä‰Ñ˜¨CÐÒ0r   r   r    r%   r5   r,   s   @r   rv   rv   §   s   ø† ñ÷1÷ 1r   rv   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚNonExistentKeyé´   z
A non-existent key was used.
c                ó0   >• SU S3n[         TU ]  U5        g )NúKey "z" does not exist.r2   ©r   Úkeyr   r   s      €r   r   ÚNonExistentKey.__init__¹   s   ø€ Ø˜#˜Ð/Ð0ˆä‰Ñ˜Õ!r   r   ©r‚   Úobjectr'   r(   r5   r,   s   @r   r}   r}   ´   s   ø† ñ÷"õ "r   r}   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )ÚKeyAlreadyPresenté¿   z"
An already present key was used.
c                óJ   >• [        USU5      nSU S3n[        TU ]	  U5        g )Nr‚   r€   z" already exists.)Úgetattrr   r   r�   s      €r   r   ÚKeyAlreadyPresent.__init__Ä   s-   ø€ Ü�c˜5 #Ó&ˆØ˜#˜Ð/Ð0ˆä‰Ñ˜Õ!r   r   r„   r5   r,   s   @r   r‡   r‡   ¿   s   ø† ñ÷"õ "r   r‡   c                  ó,   ^ • \ rS rSrSU 4S jjrSrU =r$ )ÚInvalidControlCharéË   c                óp   >• SnUS:  a  US-  nU[        U5      SS  -  nSU SU S3n[        TU ]	  XUS9  g )	Nz\u00é   Ú0é   zFControl characters (codes less than 0x1f and 0x7f) are not allowed in z, use z insteadr1   )Úhexr   r   )r   r   r   r]   ÚtypeÚdisplay_coder   r   s          €r   r   ÚInvalidControlChar.__init__Ì   sa   ø€ Øˆà�"‹9Ø˜CÑˆLàœ˜D›	 ! "˜Ñ%ˆð#Ø#' &ð )Ø�. ð*ð 	ô 	‰Ñ˜¨GÐÒ4r   r   )
r   r&   r   r&   r]   r&   r”   r`   r'   r(   ©r	   r
   r   r   r   r   r+   r,   s   @r   r�   r�   Ë   s   ø† ÷5õ 5r   r�   c                  ó,   ^ • \ rS rSrSU 4S jjrSrU =r$ )ÚInvalidStringErroréÝ   c           	     óV   >• [        U5      SS n[        TU ]	  SU U U SU S35        g )Né   éÿÿÿÿzInvalid string: z. The character sequences z are invalid.)Úreprr   r   )r   ÚvalueÚinvalid_sequencesÚ	delimiterÚrepr_r   s        €r   r   ÚInvalidStringError.__init__Þ   sB   ø€ Ü�U“˜A˜bÐ!ˆÜ‰ÑØ˜y˜k¨%¨°°ð <'Ø'8Ð&9¸ðHõ	
r   r   )rŸ   r`   r    zCollection[str]r¡   r`   r—   r,   s   @r   r™   r™   Ý   s   ø† ÷
õ 
r   r™   c                  ó   • \ rS rSrSrSrg)ÚConvertErroréæ   zŽRaised when item() fails to convert a value.
It should be a TypeError, but due to historical reasons
it needs to subclass ValueError as well.
r   N)r	   r
   r   r   r)   r   r   r   r   r¥   r¥   æ   s   † ôr   r¥   N)Ú
__future__r   Úcollections.abcr   Ú	Exceptionr   Ú
ValueErrorr   r.   r8   r=   rC   rJ   rO   rT   rY   rb   rg   rl   rq   rv   ÚKeyErrorr}   r‡   r�   r™   Ú	TypeErrorr¥   r   r   r   Ú<module>r­      s  ðÝ "å &ô	�9ô 	ô�˜\ô ô25˜:ô 5ô5˜ô 5ô5˜:ô 5ô5�zô 5ô5�zô 5ô5˜zô 5ô5˜zô 5ô5˜*ô 5ô5�Jô 5ô5˜*ô 5ô5˜zô 5ô5˜ô 5ô
1˜*ô 
1ô"�X˜|ô "ô	"˜ô 	"ô5˜ô 5ô$
˜ \ô 
ô�9˜j¨,õ r   