MCPcopy Create free account
hub / github.com/Fadi002/de4py / trigger_error

Method trigger_error

de4py/ui/devtools/state/engine.py:28–30  ·  view source on GitHub ↗
(self, code: str)

Source from the content-addressed store, hash-verified

26 bus.log_message.emit("INFO", f"Simulated latency: {ms}ms")
27
28 def trigger_error(self, code: str):
29 bus.state_changed.emit("error_triggered", code)
30 bus.log_message.emit("ERROR", f"Simulated error: {code}")
31
32engine = StateEngine()

Callers

nothing calls this directly

Calls 1

emitMethod · 0.80

Tested by

no test coverage detected