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

Class ModuleError

core/exceptions.py:48–54  ·  view source on GitHub ↗

Raised when module execution fails.

Source from the content-addressed store, hash-verified

46
47
48class ModuleError(SecuritySuiteException):
49 """Raised when module execution fails."""
50
51 def __init__(self, module_name: str, error: str):
52 self.module_name = module_name
53 self.error = error
54 super().__init__(f"Module '{module_name}' error: {error}")

Callers 1

test_module_errorMethod · 0.90

Calls

no outgoing calls

Tested by 1

test_module_errorMethod · 0.72