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

Method __init__

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

Source from the content-addressed store, hash-verified

62 """
63
64 def __init__(self, message: str, request: httpx2.Request, *, body: object | None) -> None: # noqa: ARG002
65 super().__init__(message)
66 self.request = request
67 self.message = message
68 self.body = body
69
70
71class APIResponseValidationError(APIError):

Callers 5

__init__Method · 0.45
__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