diddlmZGddeZGddeZGddeZGdd eZGd d eZGd d e Z Gdde Z Gdde Z Gdde ZdS)) annotationsc"eZdZdZfdZxZS) 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 c\d}t|||_dS)Nzcan't set attribute)super__init__msg)selfr __class__s _/home/jenkins/workspace/simtester-sanitize/venv/lib/python3.11/site-packages/attr/exceptions.pyrzFrozenError.__init__s+# )__name__ __module__ __qualname____doc__r __classcell__r s@r rrsBr rceZdZdZdS)FrozenInstanceErrorz\ A frozen instance has been attempted to be modified. .. versionadded:: 16.1.0 Nrrrrr r rrr rceZdZdZdS)FrozenAttributeErrorz] A frozen attribute has been attempted to be modified. .. versionadded:: 20.1.0 Nrrr r rrrr rceZdZdZdS)AttrsAttributeNotFoundErrorzo An *attrs* function couldn't find an attribute that the user asked for. .. versionadded:: 16.2.0 Nrrr r rr'rr rceZdZdZdS)NotAnAttrsClassErrorze A non-*attrs* class has been passed into an *attrs* function. .. versionadded:: 16.2.0 Nrrr r rr/rr rceZdZdZdS)DefaultAlreadySetErrorz A default has been set when defining the field and is attempted to be reset using the decorator. .. versionadded:: 17.1.0 Nrrr r r r 7r r ceZdZdZdS)UnannotatedAttributeErrorzq A class with ``auto_attribs=True`` has a field without a type annotation. .. versionadded:: 17.3.0 Nrrr r r#r#@rr r#ceZdZdZdS)PythonTooOldErrorz| It was attempted to use an *attrs* feature that requires a newer Python version. .. versionadded:: 18.2.0 Nrrr r r%r%Hr!r r%c(eZdZdZfdZdZxZS)NotCallableErrorzx A field requiring a callable has been set with a value that is not callable. .. versionadded:: 19.2.0 cvtt|||||_||_dSN)r TypeErrorrr value)r r r+r s r rzNotCallableError.__init__Ys5 i''U333 r c*t|jSr))strr )r s r __str__zNotCallableError.__str__^s48}}r )rrrrrr.rrs@r r'r'QsQ r r'N) __future__rAttributeErrorrrr ValueErrorrr RuntimeErrorr r#r%r*r'rr r r3s#"""""."+;*:\  yr