MCPcopy
hub / github.com/openai/openai-python / __init__

Method __init__

src/openai/_exceptions.py:43–45  ·  view source on GitHub ↗
(self, message: str, *, response: httpx.Response | None = None)

Source from the content-addressed store, hash-verified

41 response: httpx.Response | None
42
43 def __init__(self, message: str, *, response: httpx.Response | None = None) -> None:
44 super().__init__(message)
45 self.response = response
46
47
48class APIError(OpenAIError):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected