eddlmZddlmZGddeZGddeZGddeZGd d eZ Gd d eZ Gd de Z Gdde Z Gdde ZGddeZy)) annotations)ClassVarc&eZdZUdZdZegZded<y) 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__1/usr/lib/python3/dist-packages/attr/exceptions.pyrrs C"%D &rrceZdZdZy)FrozenInstanceErrorz\ A frozen instance has been attempted to be modified. .. versionadded:: 16.1.0 Nrr r r rrrrrrrceZdZdZy)FrozenAttributeErrorz] A frozen attribute has been attempted to be modified. .. versionadded:: 20.1.0 NrrrrrrrrrceZdZdZy)AttrsAttributeNotFoundErrorzo An *attrs* function couldn't find an attribute that the user asked for. .. versionadded:: 16.2.0 Nrrrrrr'rrrceZdZdZy)NotAnAttrsClassErrorze A non-*attrs* class has been passed into an *attrs* function. .. versionadded:: 16.2.0 Nrrrrrr/rrrceZdZdZy)DefaultAlreadySetErrorz A default has been set when defining the field and is attempted to be reset using the decorator. .. versionadded:: 17.1.0 Nrrrrrr7rrceZdZdZy)UnannotatedAttributeErrorzq A class with ``auto_attribs=True`` has a field without a type annotation. .. versionadded:: 17.3.0 Nrrrrrr@rrrceZdZdZy)PythonTooOldErrorz| It was attempted to use an *attrs* feature that requires a newer Python version. .. versionadded:: 18.2.0 Nrrrrr!r!Hrrr!c(eZdZdZfdZdZxZS)NotCallableErrorzx A field requiring a callable has been set with a value that is not callable. .. versionadded:: 19.2.0 cJtt| ||||_||_yN)super TypeError__init__r value)selfr r) __class__s rr(zNotCallableError.__init__Ys" i'U3 rc,t|jSr%)strr )r*s r__str__zNotCallableError.__str__^s488}r)rr r r r(r. __classcell__)r+s@rr#r#Qs rr#N) __future__rtypingrAttributeErrorrrr ValueErrorrr RuntimeErrorrrr!r'r#rrrr5sy# '. '+;*:\  yr