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

Method __init__

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

Source from the content-addressed store, hash-verified

38 """
39
40 def __init__(self, message: str, request: httpx.Request, *, body: object | None) -> None: # noqa: ARG002
41 super().__init__(message)
42 self.request = request
43 self.message = message
44 self.body = body
45
46
47class 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