From 4e55c190f51769be2c63556e80829d2b24c3017c Mon Sep 17 00:00:00 2001 From: Martijn Govers Date: Mon, 10 Jun 2024 10:20:23 +0200 Subject: [PATCH] fix error message Signed-off-by: Martijn Govers --- src/power_grid_model/validation/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/power_grid_model/validation/errors.py b/src/power_grid_model/validation/errors.py index ead5c5f38..453cad777 100644 --- a/src/power_grid_model/validation/errors.py +++ b/src/power_grid_model/validation/errors.py @@ -475,7 +475,7 @@ class InvalidAssociatedEnumValueError(MultiFieldValidationError): E.g. When a transformer tap regulator has a branch3 control side but regulates a transformer. """ - _message = "Field {field} contains invalid {enum} values for {n} {objects}. " + _message = "The combination of fields {field} results in invalid {enum} values for {n} {objects}" enum: Union[Type[Enum], List[Type[Enum]]] def __init__(