change message
This commit is contained in:
parent
83ee48887c
commit
449dc6062e
@ -101,9 +101,7 @@ class ComputedVarSignatureError(ReflexError, TypeError):
|
|||||||
var_name: The name of the var.
|
var_name: The name of the var.
|
||||||
signature: The invalid signature.
|
signature: The invalid signature.
|
||||||
"""
|
"""
|
||||||
super().__init__(
|
super().__init__(f"Computed var `{var_name}{signature}` cannot take arguments.")
|
||||||
f"Computed var `{var_name}{signature}` must have a valid signature. It should only take one parameter: self."
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class MissingAnnotationError(ReflexError, TypeError):
|
class MissingAnnotationError(ReflexError, TypeError):
|
||||||
|
Loading…
Reference in New Issue
Block a user