Skip to content

Commit daa943f

Browse files
authored
Maintenance/operator error message (#659)
* update operator error message * fix error message
1 parent d08a5f3 commit daa943f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ansys/dpf/core/dpf_operator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ def __init__(self, name, config=None, server=None):
108108
self._internal_obj = self._api.operator_new(self.name)
109109

110110
if self._internal_obj is None:
111-
raise KeyError(f"The operator {self.name} doesn't exist in the registry")
111+
raise KeyError(f"The operator {self.name} doesn't exist in the registry. "
112+
f"Check its spelling in the documentation or verify its availability "
113+
f"in your Context (Entry/Premium) and in your loaded plugins.")
112114

113115
self._spec = Specification(operator_name=self.name, server=self._server)
114116
# add dynamic inputs

0 commit comments

Comments
 (0)