File: //home/arjun/projects/env/lib/python3.10/site-packages/attr/__pycache__/exceptions.cpython-310.pyc
o
"web � @ s� G d d� de �ZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d
d� de�ZG dd
� d
e�Z G dd� de�Z
G dd� de�ZdS )c @ s e Zd ZdZdZegZdS )�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
zcan't set attributeN)�__name__�
__module__�__qualname__�__doc__�msg�args� r r �H/home/arjun/projects/env/lib/python3.10/site-packages/attr/exceptions.pyr s
r c @ � e Zd ZdZdS )�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 @ r
)�FrozenAttributeErrorz]
A frozen attribute has been attempted to be modified.
.. versionadded:: 20.1.0
Nr r r r r r r
r c @ r
)�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 c @ r
)�NotAnAttrsClassErrorze
A non-*attrs* class has been passed into an *attrs* function.
.. versionadded:: 16.2.0
Nr r r r r r + r
r c @ r
)�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 3 r
r c @ r
)�UnannotatedAttributeErrorzq
A class with ``auto_attribs=True`` has a field without a type annotation.
.. versionadded:: 17.3.0
Nr r r r r r <