Viewing File: /opt/alt/python38/lib/python3.8/site-packages/attr/__pycache__/exceptions.cpython-38.opt-1.pyc
U
#IGZQ ã @ sh d dl mZmZmZ G dd„ deƒZG dd„ deƒZG dd„ deƒZG dd „ d e ƒZ
G d
d„ de ƒZdS )
é )Ú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 ú/exceptions.pyr s r c @ s 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 s r c @ s e Zd ZdZdS )ÚNotAnAttrsClassErrorzi
A non-``attrs`` class has been passed into an ``attrs`` function.
.. versionadded:: 16.2.0
Nr r r r r
r s r c @ s e Zd ZdZdS )Ú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 ! s r c @ s e Zd ZdZdS )ÚUnannotatedAttributeErrorz~
A class with ``auto_attribs=True`` has an ``attr.ib()`` without a type
annotation.
.. versionadded:: 17.3.0
Nr r r r r
r * s r N)Z
__future__r r r ÚAttributeErrorr Ú
ValueErrorr r ÚRuntimeErrorr r r r r r
Ú<module> s
Back to Directory
File Manager