o
    i                     @   s8   G d d de ZG dd dedZG dd dedZdS )c                       s   e Zd Z fddZ  ZS )ErrorsWithCodesc                    s(   t  |}|dr|S dj||dS )N__z[{code}] {msg})codemsg)super__getattribute__
startswithformat)selfr   r   	__class__ A/home/ubuntu/.local/lib/python3.10/site-packages/weasel/errors.pyr      s   
z ErrorsWithCodes.__getattribute__)__name__
__module____qualname__r   __classcell__r   r   r
   r   r      s    r   c                   @   s   e Zd ZdZdZdS )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W802r   r   r   r   r   
   s    r   )	metaclassc                   @   s   e Zd ZdZdZdZdZdS )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    r   N)typer   r   r   r   r   r   r   <module>   s    		