+
    iG                       ^ RI Ht ^ RIHt  ! R R]4      t ! R R]]4      t ! R R]4      t ! R	 R
]4      t	 ! R R]4      t
 ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R ]4      t ! R! R"]]4      t ! R# R$]4      t ! R% R&]4      t ! R' R(]]4      t ! R) R*]]]4      tR+# ),    )annotations)
Collectionc                      ] tR t^tRtR# )TOMLKitError N)__name__
__module____qualname____firstlineno____static_attributes__r       2lib/python3.14/site-packages/tomlkit/exceptions.pyr   r      s    r   r   c                  V   a  ] tR t^
tRtRR V 3R lllt]R 4       t]R 4       tRt	V ;t
# )
ParseErrorz
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               (    V ^8  d   QhRRRRRRRR/#    lineintcolmessagez
str | NonereturnNoner   )formats   "r   __annotate__ParseError.__annotate__   s.     L LS Ls LZ L4 Lr   c                	   < Wn         W n        Vf   Rp\        SV `  V RV P                    RV P                   24       R # )NzTOML parse errorz	 at line z col )_line_colsuper__init__selfr   r   r   	__class__s   &&&&r   r!   ParseError.__init__   s=    
	?(GG9Idjj\tyykJKr   c                	    V P                   # N)r   r#   s   &r   r   ParseError.line   s    zzr   c                	    V P                   # r'   )r   r(   s   &r   r   ParseError.col   s    yyr   )r   r   r'   )r   r	   r
   r   __doc__r!   propertyr   r   r   __classcell__r$   s   @r   r   r   
   s<    L L    r   r   c                  2   a  ] tR t^#tRtR V 3R lltRtV ;t# )MixedArrayTypesErrorz8
An array was found that had two or more element types.
c               $    V ^8  d   QhRRRRRR/# r   r   r   r   r   r   r   )r   s   "r   r   !MixedArrayTypesError.__annotate__(   !     5 5S 5s 5t 5r   c                	.   < R p\         SV `  WVR7       R# )zMixed types found in arrayr   Nr    r!   r"   s   &&& r   r!   MixedArrayTypesError.__init__(   s    .G4r   r   r   r	   r
   r   r,   r!   r   r.   r/   s   @r   r1   r1   #       5 5r   r1   c                  2   a  ] tR t^.tRtR V 3R lltRtV ;t# )InvalidNumberErrorz+
A numeric field was improperly specified.
c               $    V ^8  d   QhRRRRRR/# r3   r   )r   s   "r   r   InvalidNumberError.__annotate__3   r5   r   c                	.   < R p\         SV `  WVR7       R# )zInvalid numberr7   Nr8   r"   s   &&& r   r!   InvalidNumberError.__init__3   s    "G4r   r   r:   r/   s   @r   r=   r=   .   r;   r   r=   c                  2   a  ] tR t^9tRtR V 3R lltRtV ;t# )InvalidDateTimeErrorz,
A datetime field was improperly specified.
c               $    V ^8  d   QhRRRRRR/# r3   r   )r   s   "r   r   !InvalidDateTimeError.__annotate__>   r5   r   c                	.   < R p\         SV `  WVR7       R# )zInvalid datetimer7   Nr8   r"   s   &&& r   r!   InvalidDateTimeError.__init__>       $G4r   r   r:   r/   s   @r   rC   rC   9   r;   r   rC   c                  2   a  ] tR t^DtRtR V 3R lltRtV ;t# )InvalidDateError(
A date field was improperly specified.
c               $    V ^8  d   QhRRRRRR/# r3   r   )r   s   "r   r   InvalidDateError.__annotate__I   r5   r   c                	.   < R p\         SV `  WVR7       R# )zInvalid dater7   Nr8   r"   s   &&& r   r!   InvalidDateError.__init__I        G4r   r   r:   r/   s   @r   rJ   rJ   D   r;   r   rJ   c                  2   a  ] tR t^OtRtR V 3R lltRtV ;t# )InvalidTimeErrorrK   c               $    V ^8  d   QhRRRRRR/# r3   r   )r   s   "r   r   InvalidTimeError.__annotate__T   r5   r   c                	.   < R p\         SV `  WVR7       R# )zInvalid timer7   Nr8   r"   s   &&& r   r!   InvalidTimeError.__init__T   rP   r   r   r:   r/   s   @r   rR   rR   O   r;   r   rR   c                  2   a  ] tR t^ZtRtR V 3R lltRtV ;t# )InvalidNumberOrDateErrorz3
A numeric or date field was improperly specified.
c               $    V ^8  d   QhRRRRRR/# r3   r   )r   s   "r   r   %InvalidNumberOrDateError.__annotate___   r5   r   c                	.   < R p\         SV `  WVR7       R# )zInvalid number or date formatr7   Nr8   r"   s   &&& r   r!   !InvalidNumberOrDateError.__init___   s    1G4r   r   r:   r/   s   @r   rX   rX   Z   r;   r   rX   c                  2   a  ] tR t^etRtR V 3R lltRtV ;t# )InvalidUnicodeValueErrorz*
A unicode code was improperly specified.
c               $    V ^8  d   QhRRRRRR/# r3   r   )r   s   "r   r   %InvalidUnicodeValueError.__annotate__j   r5   r   c                	.   < R p\         SV `  WVR7       R# )zInvalid unicode valuer7   Nr8   r"   s   &&& r   r!   !InvalidUnicodeValueError.__init__j   s    )G4r   r   r:   r/   s   @r   r^   r^   e   r;   r   r^   c                  2   a  ] tR t^ptRtR V 3R lltRtV ;t# )UnexpectedCharErrorz3
An unexpected character was found during parsing.
c               (    V ^8  d   QhRRRRRRRR/# r   r   r   r   charstrr   r   r   )r   s   "r   r    UnexpectedCharError.__annotate__u   (     5 5S 5s 5# 5$ 5r   c                	6   < R V: 2p\         SV `  WVR7       R# )zUnexpected character: r7   Nr8   r#   r   r   rg   r   r$   s   &&&& r   r!   UnexpectedCharError.__init__u   s!    *4(3G4r   r   r:   r/   s   @r   rd   rd   p   r;   r   rd   c                  2   a  ] tR t^{tRtR V 3R lltRtV ;t# )EmptyKeyErrorz(
An empty key was found during parsing.
c               $    V ^8  d   QhRRRRRR/# r3   r   )r   s   "r   r   EmptyKeyError.__annotate__   r5   r   c                	.   < R p\         SV `  WVR7       R# )z	Empty keyr7   Nr8   r"   s   &&& r   r!   EmptyKeyError.__init__   s    G4r   r   r:   r/   s   @r   ro   ro   {   r;   r   ro   c                  2   a  ] tR t^tRtR V 3R lltRtV ;t# )EmptyTableNameErrorz/
An empty table name was found during parsing.
c               $    V ^8  d   QhRRRRRR/# r3   r   )r   s   "r   r    EmptyTableNameError.__annotate__   r5   r   c                	.   < R p\         SV `  WVR7       R# )zEmpty table namer7   Nr8   r"   s   &&& r   r!   EmptyTableNameError.__init__   rH   r   r   r:   r/   s   @r   ru   ru      r;   r   ru   c                  2   a  ] tR t^tRtR V 3R lltRtV ;t# )InvalidCharInStringErrorz8
The string being parsed contains an invalid character.
c               (    V ^8  d   QhRRRRRRRR/# rf   r   )r   s   "r   r   %InvalidCharInStringError.__annotate__   rj   r   c                	8   < R V: R2p\         SV `  WVR7       R# )zInvalid character z
 in stringr7   Nr8   rl   s   &&&& r   r!   !InvalidCharInStringError.__init__   s#    &thj9G4r   r   r:   r/   s   @r   r{   r{      r;   r   r{   c                  2   a  ] tR t^tRtR V 3R lltRtV ;t# )UnexpectedEofErrorz<
The TOML being parsed ended before the end of a statement.
c               $    V ^8  d   QhRRRRRR/# r3   r   )r   s   "r   r   UnexpectedEofError.__annotate__   r5   r   c                	.   < R p\         SV `  WVR7       R# )zUnexpected end of filer7   Nr8   r"   s   &&& r   r!   UnexpectedEofError.__init__   s    *G4r   r   r:   r/   s   @r   r   r      r;   r   r   c                  6   a  ] tR t^tRtRR V 3R llltRtV ;t# )InternalParserErrorz.
An error that indicates a bug in the parser.
c               (    V ^8  d   QhRRRRRRRR/# r   r   )r   s   "r   r    InternalParserError.__annotate__   s(     1 1S 1s 1Z 14 1r   c                	X   < R pV'       d   VRV R2,          p\         SV `  WVR7       R# )zInternal parser errorz ()r7   Nr8   )r#   r   r   r   msgr$   s   &&&& r   r!   InternalParserError.__init__   s/    %Ry?"CC0r   r   r'   r:   r/   s   @r   r   r      s    1 1 1r   r   c                  ,   a  ] tR t^tRtV 3R ltRtV ;t# )NonExistentKeyz
A non-existent key was used.
c                	2   < R V R2p\         SV `  V4       R# )Key "z" does not exist.Nr8   r#   keyr   r$   s   && r   r!   NonExistentKey.__init__   s    #/0!r   r   r:   r/   s   @r   r   r      s    " "r   r   c                  ,   a  ] tR t^tRtV 3R ltRtV ;t# )KeyAlreadyPresentz"
An already present key was used.
c                	L   < \        VR V4      pRV R2p\        SV `	  V4       R# )r   r   z" already exists.N)getattrr    r!   r   s   && r   r!   KeyAlreadyPresent.__init__   s-    c5#&#/0!r   r   r:   r/   s   @r   r   r      s    " "r   r   c                  .   a  ] tR t^tR V 3R lltRtV ;t# )InvalidControlCharc          
     ,    V ^8  d   QhRRRRRRRRRR/# )	r   r   r   r   rg   typerh   r   r   r   )r   s   "r   r   InvalidControlChar.__annotate__   s/     5 5S 5s 5# 5S 5T 5r   c                	   < R pV^8  d
   VR,          pV\        V4      R,          ,          pRV RV R2p\        SV `	  WVR7       R# )z\u000:r   NNzFControl characters (codes less than 0x1f and 0x7f) are not allowed in z, use z insteadr7   N)hexr    r!   )r#   r   r   rg   r   display_coder   r$   s   &&&&&  r   r!   InvalidControlChar.__init__   s_    "9CLD	"%##'& ).* 	 	G4r   r   r   r	   r
   r   r!   r   r.   r/   s   @r   r   r      s    5 5r   r   c                  .   a  ] tR t^tR V 3R lltRtV ;t# )InvalidStringErrorc               $    V ^8  d   QhRRRRRR/# )r   valuerh   invalid_sequenceszCollection[str]	delimiterr   )r   s   "r   r   InvalidStringError.__annotate__   s"     
 
c 
o 
RU 
r   c           	     	X   < \        V4      ^R p\        SV `	  RV V V RV R24       R# )   zInvalid string: z. The character sequences z are invalid.N)reprr    r!   )r#   r   r   r   repr_r$   s   &&&& r   r!   InvalidStringError.__init__   sB    UAb!yk% <''8&9H	
r   r   r   r/   s   @r   r   r      s    
 
r   r   c                      ] tR t^tRtRtR# )ConvertErrorzRaised 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   typingr   	Exceptionr   
ValueErrorr   r1   r=   rC   rJ   rR   rX   r^   rd   ro   ru   r{   r   r   KeyErrorr   r   r   r   	TypeErrorr   r   r   r   <module>r      s   " 	9 	\ 25: 55 55: 55z 55z 55z 55z 55* 55J 55* 55z 55 5
1* 
1"X| "	" 	"5 5$
\ 
9j, r   