
    2i                        d dl mZ  G d de      Z G d de      Z G d de      Z G d d	e      Z G d
 de      Z G d de	      Z
 G d de	      Z G d de	      Z G d de      Zy)    )annotationsc                  "     e Zd ZdZ fdZ xZS )FrozenErrorz
    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                6    d}t         |   |       || _        y )Nzcan't set attribute)super__init__msg)selfr	   	__class__s     W/var/www/html/marco-python-backend/venv/lib/python3.12/site-packages/attr/exceptions.pyr   zFrozenError.__init__   s    #    )__name__
__module____qualname____doc__r   __classcell__r   s   @r   r   r      s     r   r   c                      e Zd ZdZy)FrozenInstanceErrorz\
    A frozen instance has been attempted to be modified.

    .. versionadded:: 16.1.0
    Nr   r   r   r    r   r   r   r          r   r   c                      e Zd ZdZy)FrozenAttributeErrorz]
    A frozen attribute has been attempted to be modified.

    .. versionadded:: 20.1.0
    Nr   r   r   r   r   r      r   r   r   c                      e Zd ZdZy)AttrsAttributeNotFoundErrorzo
    An *attrs* function couldn't find an attribute that the user asked for.

    .. versionadded:: 16.2.0
    Nr   r   r   r   r   r   '   r   r   r   c                      e Zd ZdZy)NotAnAttrsClassErrorze
    A non-*attrs* class has been passed into an *attrs* function.

    .. versionadded:: 16.2.0
    Nr   r   r   r   r   r   /   r   r   r   c                      e Zd ZdZy)DefaultAlreadySetErrorz
    A default has been set when defining the field and is attempted to be reset
    using the decorator.

    .. versionadded:: 17.1.0
    Nr   r   r   r   r    r    7       r   r    c                      e Zd ZdZy)UnannotatedAttributeErrorzq
    A class with ``auto_attribs=True`` has a field without a type annotation.

    .. versionadded:: 17.3.0
    Nr   r   r   r   r#   r#   @   r   r   r#   c                      e Zd ZdZy)PythonTooOldErrorz|
    It was attempted to use an *attrs* feature that requires a newer Python
    version.

    .. versionadded:: 18.2.0
    Nr   r   r   r   r%   r%   H   r!   r   r%   c                  (     e Zd ZdZ fdZd Z xZS )NotCallableErrorzx
    A field requiring a callable has been set with a value that is not
    callable.

    .. versionadded:: 19.2.0
    c                J    t         t        |   ||       || _        || _        y N)r   	TypeErrorr   r	   value)r
   r	   r+   r   s      r   r   zNotCallableError.__init__Y   s"    i'U3
r   c                ,    t        | j                        S r)   )strr	   )r
   s    r   __str__zNotCallableError.__str__^   s    488}r   )r   r   r   r   r   r.   r   r   s   @r   r'   r'   Q   s    
r   r'   N)
__future__r   AttributeErrorr   r   r   
ValueErrorr   r   RuntimeErrorr    r#   r%   r*   r'   r   r   r   <module>r3      sv    #. "+ ; * : \   y r   