diff --git a/reflex/state.py b/reflex/state.py index 5e9783273..041fa04ae 100644 --- a/reflex/state.py +++ b/reflex/state.py @@ -1263,7 +1263,7 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow): value: The value of the attribute. Raises: - SetUndefinedStateVar: If a value of a var is set without first defining it. + SetUndefinedStateVarError: If a value of a var is set without first defining it. """ if isinstance(value, MutableProxy): # unwrap proxy objects when assigning back to the state