diff --git a/src/braket/parametric/free_parameter.py b/src/braket/parametric/free_parameter.py index cd2e94793..27e588d79 100644 --- a/src/braket/parametric/free_parameter.py +++ b/src/braket/parametric/free_parameter.py @@ -109,7 +109,7 @@ def _validate_name(name: str) -> None: if not name: raise ValueError("FreeParameter names must be non empty") if not isinstance(name, str): - raise TypeError("FreeParameter name must be a string") + raise TypeError("FreeParameter names must be strings") if name.startswith("__"): raise ValueError("FreeParameter names must not start with two underscores '__'")