
    דie                     h    S SK Jr   " S S\5      r " S S\5      r " S S\5      r " S S	\5      rg
)    )ENOENTc                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )InvalidArchiveError   z(Raised when libarchive can't open a filec                 N   > SU< SU< 3n[         U l        [        TU ]  U5        g )NzError with archive zV.  You probably need to delete and re-download or re-create this file.  Message was:

)r   errnosuper__init__)selffnmsgargskw	__class__s        Alib/python3.13/site-packages/conda_package_handling/exceptions.pyr
   InvalidArchiveError.__init__   s,     >@F 	 
    )r   )__name__
__module____qualname____firstlineno____doc__r
   __static_attributes____classcell__r   s   @r   r   r      s    2 r   r   c                       \ rS rSrSrSrg)ArchiveCreationError   z,Raised when an archive fails during creation N)r   r   r   r   r   r   r   r   r   r   r      s    6r   r   c                   (   ^  \ rS rSrU 4S jrSrU =r$ )CaseInsensitiveFileSystemError   c                 D   > SnXl         X l        [        TU ]  " X40 UD6  g )Na
  
        Cannot extract package to a case-insensitive file system. Your install
        destination does not differentiate between upper and lowercase
        characters, and this breaks things. Try installing to a location that
        is case-sensitive. Windows drives are usually the culprit here - can
        you install to a native Unix drive, or turn on case sensitivity for
        this (Windows) location?

          package location: %(package_location)s
          extract location: %(extract_location)s
        )package_locationextract_locationr	   r
   )r   r$   r%   kwargsmessager   s        r   r
   'CaseInsensitiveFileSystemError.__init__   s+    
 !1 0)=f=r   )r%   r$   r   r   r   r   r
   r   r   r   s   @r   r!   r!      s    > >r   r!   c                   (   ^  \ rS rSrU 4S jrSrU =r$ )ConversionError(   c                    > Xl         X l        SnU R                   (       a  SU R                   -  nUSU R                  -  -   n[        TU ]  " U/UQ70 UD6  g )N z'Missing files in converted package: %s
z7Mismatching sizes (corruption) in converted package: %s)missing_filesmismatching_sizesr	   r
   )r   r/   r0   r   r   errorsr   s         r   r
   ConversionError.__init__)   sd    *!2?$BTBTTFG$$%% 	 	-$-"-r   )r0   r/   r)   r   s   @r   r+   r+   (   s    . .r   r+   N)r   r   	Exceptionr   r   r!   r+   r   r   r   <module>r4      s9    	) 		9 	>%8 >$.i .r   