MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / _handle_errors

Method _handle_errors

unity_cli/api/uitree_monkey.py:122–128  ·  view source on GitHub ↗

Check for errors and return True if should stop.

(self, result: MonkeyResult, stop_on_error: bool)

Source from the content-addressed store, hash-verified

120 )
121
122 def _handle_errors(self, result: MonkeyResult, stop_on_error: bool) -> bool:
123 """Check for errors and return True if should stop."""
124 errors = self._check_errors()
125 if errors:
126 result.errors.extend(errors)
127 return stop_on_error
128 return False
129
130 def _query_elements(self, panel: str, type_filter: str | None, class_filter: str | None) -> list[dict[str, Any]]:
131 """Query interactive elements from the panel."""

Callers 1

runMethod · 0.95

Calls 1

_check_errorsMethod · 0.95

Tested by

no test coverage detected