File: //usr/lib/python3/dist-packages/mercurial/thirdparty/attr/__pycache__/exceptions.cpython-310.pyc
o
�]Lb� � @ sX d dl mZmZmZ G dd� de�ZG dd� de�ZG dd� de�ZG dd � d e �Z
d
S )� )�absolute_import�division�print_functionc @ s e Zd ZdZdZegZdS )�FrozenInstanceErrorz�
A frozen/immutable instance has been attempted to be modified.
It mirrors the behavior of ``namedtuples`` by using the same error message
and subclassing :exc:`AttributeError`.
.. versionadded:: 16.1.0
zcan't set attributeN)�__name__�
__module__�__qualname__�__doc__�msg�args� r r �F/usr/lib/python3/dist-packages/mercurial/thirdparty/attr/exceptions.pyr s
r c @ � e Zd ZdZdS )�AttrsAttributeNotFoundErrorzq
An ``attrs`` function couldn't find an attribute that the user asked for.
.. versionadded:: 16.2.0
N�r r r r r r r r
r � r c @ r )�NotAnAttrsClassErrorzi
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 using ``attr.ib()`` and is attempted to be reset
using the decorator.
.. versionadded:: 17.1.0
Nr r r r r
r ! r r N)�
__future__r r r �AttributeErrorr �
ValueErrorr r �RuntimeErrorr r r r r
�<module> s