MCPcopy Create free account
hub / github.com/TheSecuredAnalyst/security-suite / ToolExecutionError

Class ToolExecutionError

core/exceptions.py:17–23  ·  view source on GitHub ↗

Raised when a tool execution fails.

Source from the content-addressed store, hash-verified

15
16
17class ToolExecutionError(SecuritySuiteException):
18 """Raised when a tool execution fails."""
19
20 def __init__(self, tool_name: str, error: str):
21 self.tool_name = tool_name
22 self.error = error
23 super().__init__(f"Execution of '{tool_name}' failed: {error}")
24
25
26class InvalidTargetError(SecuritySuiteException):

Callers 2

run_commandMethod · 0.90

Calls

no outgoing calls

Tested by 1