Query errors need to contain the query response body

Description

This is especially true when we can't parse the response body as a query error. In transactions I'm seeing the errror that I need (TransactionOperationFailedError) just get swallowed. We should expose this either via InnerError or via a new ResponseBody field. I would lean toward favouring the latter as we can then raise sentinel errors as the base with the response body included.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created November 4, 2021 at 2:27 PM
Updated November 16, 2021 at 9:47 AM
Resolved November 16, 2021 at 9:47 AM
Instabug