Skip to content

Commit

Permalink
fix(errors): properly assign APIError.body (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored Dec 8, 2023
1 parent a3dd337 commit 7ee4eea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/orb/_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,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 7ee4eea

Please sign in to comment.