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

Method __init__

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

Source from the content-addressed store, hash-verified

47 """
48
49 def __init__(self, message: str, request: httpx2.Request, *, body: object | None) -> None: # noqa: ARG002
50 super().__init__(message)
51 self.request = request
52 self.message = message
53 self.body = body
54
55
56class 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