diff --git a/src/attr/exceptions.py b/src/attr/exceptions.py index 3b7abb815..af7a4782d 100644 --- a/src/attr/exceptions.py +++ b/src/attr/exceptions.py @@ -19,6 +19,9 @@ class FrozenError(AttributeError): msg = "can't set attribute" args: ClassVar[tuple[str]] = [msg] + def __init__(self): + super().__init__(self.msg) + class FrozenInstanceError(FrozenError): """