MCPcopy
hub / github.com/anthropics/anthropic-sdk-python / __init__

Method __init__

src/anthropic/_exceptions.py:44–48  ·  view source on GitHub ↗
(self, message: str, request: httpx.Request, *, body: object | None)

Source from the content-addressed store, hash-verified

42 """
43
44 def __init__(self, message: str, request: httpx.Request, *, body: object | None) -> None: # noqa: ARG002
45 super().__init__(message)
46 self.request = request
47 self.message = message
48 self.body = body
49
50
51class APIResponseValidationError(APIError):

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected