
    i                        S SK Jr   " S S\5      r " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      r " S S\	5      r
 " S S\	5      r " S S\	5      r " S S\5      rg)    )annotationsc                  ,   ^  \ rS rSrSrU 4S jrSrU =r$ )FrozenError   z
A frozen/immutable instance or attribute have been attempted to be
modified.

It mirrors the behavior of ``namedtuples`` by using the same error message
and subclassing `AttributeError`.

.. versionadded:: 20.1.0
c                4   > Sn[         TU ]  U5        Xl        g )Nzcan't set attribute)super__init__msg)selfr
   	__class__s     N/var/www/html/ai-image-ml/venv/lib/python3.13/site-packages/attr/exceptions.pyr	   FrozenError.__init__   s    #    )r
   )__name__
__module____qualname____firstlineno____doc__r	   __static_attributes____classcell__r   s   @r   r   r      s     r   r   c                      \ rS rSrSrSrg)FrozenInstanceError   zP
A frozen instance has been attempted to be modified.

.. versionadded:: 16.1.0
 Nr   r   r   r   r   r   r   r   r   r   r          r   r   c                      \ rS rSrSrSrg)FrozenAttributeError   zQ
A frozen attribute has been attempted to be modified.

.. versionadded:: 20.1.0
r   Nr   r   r   r   r   r      r   r   r   c                      \ rS rSrSrSrg)AttrsAttributeNotFoundError'   zc
An *attrs* function couldn't find an attribute that the user asked for.

.. versionadded:: 16.2.0
r   Nr   r   r   r   r"   r"   '   r   r   r"   c                      \ rS rSrSrSrg)NotAnAttrsClassError/   zY
A non-*attrs* class has been passed into an *attrs* function.

.. versionadded:: 16.2.0
r   Nr   r   r   r   r%   r%   /   r   r   r%   c                      \ rS rSrSrSrg)DefaultAlreadySetError7   z|
A default has been set when defining the field and is attempted to be reset
using the decorator.

.. versionadded:: 17.1.0
r   Nr   r   r   r   r(   r(   7       r   r(   c                      \ rS rSrSrSrg)UnannotatedAttributeError@   ze
A class with ``auto_attribs=True`` has a field without a type annotation.

.. versionadded:: 17.3.0
r   Nr   r   r   r   r,   r,   @   r   r   r,   c                      \ rS rSrSrSrg)PythonTooOldErrorH   zl
It was attempted to use an *attrs* feature that requires a newer Python
version.

.. versionadded:: 18.2.0
r   Nr   r   r   r   r/   r/   H   r*   r   r/   c                  2   ^  \ rS rSrSrU 4S jrS rSrU =r$ )NotCallableErrorQ   zh
A field requiring a callable has been set with a value that is not
callable.

.. versionadded:: 19.2.0
c                D   > [         [        U ]  X5        Xl        X l        g N)r   	TypeErrorr	   r
   value)r   r
   r7   r   s      r   r	   NotCallableError.__init__Y   s    i'3
r   c                ,    [        U R                  5      $ r5   )strr
   )r   s    r   __str__NotCallableError.__str__^   s    488}r   )r
   r7   )	r   r   r   r   r   r	   r;   r   r   r   s   @r   r2   r2   Q   s    
 r   r2   N)
__future__r   AttributeErrorr   r   r   
ValueErrorr"   r%   RuntimeErrorr(   r,   r/   r6   r2   r   r   r   <module>rA      sv    #. "+ ; * : \   y r   