MCPcopy
hub / github.com/HKUDS/MiniRAG / __init__

Method __init__

minirag/exceptions.py:12–18  ·  view source on GitHub ↗
(
        self, message: str, *, response: httpx.Response, body: object | None
    )

Source from the content-addressed store, hash-verified

10 request_id: str | None
11
12 def __init__(
13 self, message: str, *, response: httpx.Response, body: object | None
14 ) -> None:
15 super().__init__(message, response.request, body=body)
16 self.response = response
17 self.status_code = response.status_code
18 self.request_id = response.headers.get("x-request-id")
19
20
21class APIConnectionError(Exception):

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 1

getMethod · 0.80

Tested by

no test coverage detected