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

Method fail

src/tool_system/build_tool.py:26–27  ·  view source on GitHub ↗
(message: str, error_code: int = 0)

Source from the content-addressed store, hash-verified

24
25 @staticmethod
26 def fail(message: str, error_code: int = 0) -> ValidationResult:
27 return ValidationResult(result=False, message=message, error_code=error_code)
28
29
30@dataclass(frozen=True)

Callers 6

_validate_mcp_inputFunction · 0.45
_validate_inputFunction · 0.45
_validate_inputFunction · 0.45
_validate_skill_inputFunction · 0.45
_bash_validate_inputFunction · 0.45

Calls 1

ValidationResultClass · 0.85

Tested by

no test coverage detected