Skip to content

Commit

Permalink
fix(errors): properly assign APIError.body (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Dec 13, 2023
1 parent 1b032ee commit e2feae9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/anthropic_bedrock/_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def __init__(self, message: str, request: httpx.Request, *, body: object | None)
super().__init__(message)
self.request = request
self.message = message
self.body = body


class APIResponseValidationError(APIError):
Expand Down

0 comments on commit e2feae9

Please sign in to comment.