MCPcopy
hub / github.com/smittix/intercept / AgentHTTPError

Class AgentHTTPError

utils/agent_client.py:14–19  ·  view source on GitHub ↗

Exception raised when agent HTTP request fails.

Source from the content-addressed store, hash-verified

12
13
14class AgentHTTPError(RuntimeError):
15 """Exception raised when agent HTTP request fails."""
16
17 def __init__(self, message: str, status_code: int | None = None):
18 super().__init__(message)
19 self.status_code = status_code
20
21
22class AgentConnectionError(AgentHTTPError):

Callers 2

_getMethod · 0.85
_postMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected