Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail and correctly parse on any error in the requester. #136

Merged
merged 1 commit into from
Jan 14, 2024

Conversation

jklein24
Copy link
Collaborator

This matches the behavior of the Python and Go SDKs. It also fixes some error parsing issues when the top level data is non-null, but the only useful fields are. For example, when querying Account.getTransactions() with a page size >200, it should fire an error with type MaxDatabaseQueryException with a reasonable message. However, previously, it was firing an opaque json deserialization error.

This matches the behavior of the Python and Go SDKs. It also fixes some error parsing issues when the top level data is non-null, but the only useful fields are. For example, when querying Account.getTransactions() with a page size >200, it should fire an error with type MaxDatabaseQueryException with a reasonable message. However, previously, it was firing an opaque json deserialization error.
@jklein24 jklein24 merged commit 5768c6a into develop Jan 14, 2024
3 checks passed
@jklein24 jklein24 deleted the fix/errorparse2 branch January 14, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants