
    i                     J     G d  de       Z G d de      Z G d de      Zy)c                        e Zd Z fdZ xZS )ErrorsWithCodesc                 n    t         |   |      }|j                  d      r|S dj                  ||      S )N__z[{code}] {msg})codemsg)super__getattribute__
startswithformat)selfr   r   	__class__s      ^/var/www/vps2.regionflexible.com/Desarrollo/venv/lib/python3.12/site-packages/weasel/errors.pyr	   z ErrorsWithCodes.__getattribute__   s9    g&t,??4 J#**#*>>    )__name__
__module____qualname__r	   __classcell__)r   s   @r   r   r      s    ? ?r   r   c                       e Zd ZdZdZy)Warningsz:Could not clean/remove the temp directory at {dir}: {msg}.z|Remote storage is not yet supported for Python 3.12 with cloudpathlib. Please use Python 3.11 or earlier for remote storage.N)r   r   r   W801W802 r   r   r   r   
   s    GD	N 	r   r   )	metaclassc                       e Zd ZdZdZdZdZy)ErrorszsCan't write to frozen dictionary. This is likely an internal error. Are you writing to a default function argument?zkCan't write to frozen list. Maybe you're trying to modify a computed property or default function argument?zHCan not execute command '{str_command}'. Do you have '{tool}' installed?zGThe tar file pulled from the remote attempted an unsafe path traversal.N)r   r   r   E001E002E501E801r   r   r   r   r      s'    	A 	
	1 	 VD XDr   r   N)typer   r   r   r   r   r   <module>r!      s+   ?d ? X Xr   