Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode-sdk-python
/ APIConnectionError
Class
APIConnectionError
src/opencode_ai/_exceptions.py:69–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
68
69
class
APIConnectionError(APIError):
70
def
__init__(self, *, message: str =
"Connection error."
, request: httpx.Request) -> None:
71
super().__init__(message, request, body=None)
72
73
74
class
APITimeoutError(APIConnectionError):
Callers
2
request
Method · 0.85
request
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected