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

Method __init__

core/exceptions.py:20–23  ·  view source on GitHub ↗
(self, tool_name: str, error: str)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected