MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / error

Method error

src/command_system/engine.py:72–81  ·  view source on GitHub ↗

Create an error result.

(cls, command_name: str, error: str)

Source from the content-addressed store, hash-verified

70
71 @classmethod
72 def error(cls, command_name: str, error: str) -> "CommandResult":
73 """Create an error result."""
74 return cls(
75 success=False,
76 command_name=command_name,
77 result_type="text",
78 text=f"Error: {error}",
79 error=error,
80 display="system",
81 )
82
83 @classmethod
84 def skip(cls, command_name: str) -> "CommandResult":

Callers 15

logErrorFunction · 0.80
profile-tui.mjsFile · 0.80
_write_jsonFunction · 0.80
persist_session_ruleFunction · 0.80
undo_file_changeMethod · 0.80
undo_to_checkpointMethod · 0.80
runMethod · 0.80
_process_workMethod · 0.80
bridge_mainFunction · 0.80
_do_refreshMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected