diff --git a/reflex/utils/exceptions.py b/reflex/utils/exceptions.py index 7793415ed..17a1e2beb 100644 --- a/reflex/utils/exceptions.py +++ b/reflex/utils/exceptions.py @@ -101,9 +101,7 @@ class ComputedVarSignatureError(ReflexError, TypeError): var_name: The name of the var. signature: The invalid signature. """ - super().__init__( - f"Computed var `{var_name}{signature}` must have a valid signature. It should only take one parameter: self." - ) + super().__init__(f"Computed var `{var_name}{signature}` cannot take arguments.") class MissingAnnotationError(ReflexError, TypeError):