HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //var/opt/nydus/ops/attr/__pycache__/exceptions.cpython-39.pyc
a

�,�h��@s�ddlmZddlmZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�Z	Gdd�de�Z
Gd
d�de�ZGdd�de�Z
Gdd�de�ZGdd�de�ZdS)�)�annotations)�ClassVarc@s$eZdZUdZdZegZded<dS)�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 attributezClassVar[tuple[str]]�argsN)�__name__�
__module__�__qualname__�__doc__�msgr�__annotations__�rr�@/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/attr/exceptions.pyrs

rc@seZdZdZdS)�FrozenInstanceErrorz\
    A frozen instance has been attempted to be modified.

    .. versionadded:: 16.1.0
    N�rrrr	rrrr
rsrc@seZdZdZdS)�FrozenAttributeErrorz]
    A frozen attribute has been attempted to be modified.

    .. versionadded:: 20.1.0
    Nrrrrr
rsrc@seZdZdZdS)�AttrsAttributeNotFoundErrorzo
    An *attrs* function couldn't find an attribute that the user asked for.

    .. versionadded:: 16.2.0
    Nrrrrr
r'src@seZdZdZdS)�NotAnAttrsClassErrorze
    A non-*attrs* class has been passed into an *attrs* function.

    .. versionadded:: 16.2.0
    Nrrrrr
r/src@seZdZdZdS)�DefaultAlreadySetErrorz�
    A default has been set when defining the field and is attempted to be reset
    using the decorator.

    .. versionadded:: 17.1.0
    Nrrrrr
r7src@seZdZdZdS)�UnannotatedAttributeErrorzq
    A class with ``auto_attribs=True`` has a field without a type annotation.

    .. versionadded:: 17.3.0
    Nrrrrr
r@src@seZdZdZdS)�PythonTooOldErrorz|
    It was attempted to use an *attrs* feature that requires a newer Python
    version.

    .. versionadded:: 18.2.0
    Nrrrrr
rHsrcs(eZdZdZ�fdd�Zdd�Z�ZS)�NotCallableErrorzx
    A field requiring a callable has been set with a value that is not
    callable.

    .. versionadded:: 19.2.0
    cs"tt|��||�||_||_dS�N)�super�	TypeError�__init__r
�value)�selfr
r��	__class__rr
rYszNotCallableError.__init__cCs
t|j�Sr)�strr
)rrrr
�__str__^szNotCallableError.__str__)rrrr	rr �
__classcell__rrrr
rQsrN)�
__future__r�typingr�AttributeErrorrrr�
ValueErrorrr�RuntimeErrorrrrrrrrrr
�<module>s