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

Class InvalidTargetError

core/exceptions.py:26–31  ·  view source on GitHub ↗

Raised when target validation fails.

Source from the content-addressed store, hash-verified

24
25
26class InvalidTargetError(SecuritySuiteException):
27 """Raised when target validation fails."""
28
29 def __init__(self, target: str):
30 self.target = target
31 super().__init__(f"Invalid target: {target}")
32
33
34class NetworkError(SecuritySuiteException):

Callers 1

Calls

no outgoing calls

Tested by 1