+
    ڀi                        R t ^ RIHt ^ RIHt ^ RIHt ^ RIHtH	t	 ]'       d   ^ 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# ) )annotations)TYPE_CHECKING)dashlist)
CondaErrorCondaValueError)Path)ValidationErrorc                  .   a  ] tR t^tR V 3R lltRtV ;t# )LockfileFormatNotSupportedc                   V ^8  d   QhRR/# )   pathstr )formats   ":lib/python3.14/site-packages/conda_lockfiles/exceptions.py__annotate__'LockfileFormatNotSupported.__annotate__   s     " "S "    c                	2   < R V R2p\         SV `  V4       R# )zThe specified file  is not supported.Nsuper__init__)selfr   message	__class__s   && r   r   #LockfileFormatNotSupported.__init__   s    'v-?@!r   r   __name__
__module____qualname____firstlineno__r   __static_attributes____classcell__r   s   @r   r   r          " "r   r   c                  .   a  ] tR t^tR V 3R lltRtV ;t# ) ExportLockfileFormatNotSupportedc                   V ^8  d   QhRR/# )r   lockfile_formatr   r   )r   s   "r   r   -ExportLockfileFormatNotSupported.__annotate__   s     " " "r   c                	2   < R V R2p\         SV `  V4       R# )zExporting to lockfile format r   Nr   )r   r+   r   r   s   && r   r   )ExportLockfileFormatNotSupported.__init__   s     1/1BBTU!r   r   r   r&   s   @r   r)   r)      r'   r   r)   c                  2   a  ] tR t^tRR V 3R llltRtV ;t# )EnvironmentExportNotSupportedc                    V ^8  d   QhRRRR/# )r   r+   r   addendumz
str | Noner   )r   s   "r   r   *EnvironmentExportNotSupported.__annotate__   s     - - -z -r   c                	x   < R V R2pV'       d   RVP                  4        2MRp\        SV `	  W2,           4       R# )zAThe specified environment cannot be exporting to lockfile format . r   N)stripr   r   )r   r+   r2   r   r   s   &&& r   r   &EnvironmentExportNotSupported.__init__   sD    ""1!2!5 	 .6Qx~~'()2+,r   r   Nr   r&   s   @r   r0   r0      s    - - -r   r0   c                  2   a  ] tR t^&tRtR V 3R lltRtV ;t# )CondaLockfilesValidationErrorz>Exception raised when pydantic validation of a lockfile fails.c                    V ^8  d   QhRRRR/# )r   er	   	file_pathr   r   )r   s   "r   r   *CondaLockfilesValidationError.__annotate__)   s     )" )"/ )"d )"r   c                  < R R lpVP                  4       p. pV F  pVP                  RR4      pVP                  RR4      pVP                  RR4      p	V'       d1   V! V4      p
V	R8X  d   R	V
 R
2pMRV	9   g   RV	9   d   TpMRV
 RV 2pMTpVP                  V4       K  	  \        V4      ^8X  d   V^ ,          pM\	        V4      pRV RV 2p\
        SV `  V4       R# )z
Format Pydantic validation errors into user-friendly messages.

:param e: ValidationError from pydantic
:param file_path: Path to the file being validated
c                    V ^8  d   QhRRRR/# )r   loctuplereturnr   r   )r   s   "r   r   <CondaLockfilesValidationError.__init__.<locals>.__annotate__1   s     	7 	7 	73 	7r   c                2    RP                  R V  4       4      # )z7Convert Pydantic location tuple to readable field path.r5   c              3  8   "   T F  p\        V4      x  K  	  R # 5ir9   )r   ).0items   & r   	<genexpr>RCondaLockfilesValidationError.__init__.<locals>.format_location.<locals>.<genexpr>3   s     6#$CII#s   )join)rB   s   &r   format_location?CondaLockfilesValidationError.__init__.<locals>.format_location1   s    886#666r   rB   msgzvalidation failedtyper   missingzmissing required field ''value_errorassertion_errorzfield '': zFile z has validation errors:
Nr   )errorsgetappendlenr   r   r   )r   r=   r>   rM   rV   error_messageserrorrB   rO   
error_type
field_pathdescriptionr   formatted_listr   s   &&&           r   r   &CondaLockfilesValidationError.__init__)   s    	7 E))E2&C))E#67C62.J ,S1
*$<ZL"JK"j04E4S"%K$+J<s3%"@K!!!+.% * ~!#$Q'G%n5Ni[(A.AQRG!r   r   r    r!   r"   r#   __doc__r   r$   r%   r&   s   @r   r;   r;   &   s    H)" )"r   r;   c                  2   a  ] tR t^UtRtR V 3R lltRtV ;t# )CondaLockfilesParserErrorz
Exception raised when a parsing error (e.g. `json` or `yaml`) has been encountered.

We use this as a wrapper to ensure dependency specific errors (e.g. `ruamel.yaml`)
are rendered correctly as a ``CondaError`` subclass.
c                    V ^8  d   QhRRRR/# )r   r=   	Exceptionr   r   r   )r   s   "r   r   &CondaLockfilesParserError.__annotate__]   s     " ") "3 "r   c                	6   < R V RV 2p\         SV `  V4       R# )z Unable to parse the content at 'rU   Nr   )r   r=   r   r   r   s   &&& r   r   "CondaLockfilesParserError.__init__]   s"    4TF#aSA!r   r   ra   r&   s   @r   rd   rd   U   s    " "r   rd   N)rb   
__future__r   typingr   conda.common.ior   conda.exceptionsr   r   pathlibr   pydanticr	   r   r)   r0   r;   rd   r   r   r   <module>rp      sZ     "   $ 8(" ""z "-J -,"O ,"^
"
 
"r   