Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/openai-python
/ APIConnectionError
Class
APIConnectionError
src/openai/_exceptions.py:107–109 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
105
106
107
class
APIConnectionError(APIError):
108
def
__init__(self, *, message: str =
"Connection error."
, request: httpx.Request) -> None:
109
super().__init__(message, request, body=None)
110
111
112
class
APITimeoutError(APIConnectionError):
Callers
2
request
Method · 0.85
request
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected