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

Add response headers to Nylas API error objects #246

Merged
merged 5 commits into from
Sep 25, 2024

Conversation

mrashed-dev
Copy link
Contributor

Description

This PR forwards response headers from the Nylas API error response to the serialized objects.

License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@mrashed-dev mrashed-dev merged commit b5f83ef into main Sep 25, 2024
2 checks passed
@mrashed-dev mrashed-dev deleted the TW-3462-java-add-headers-to-error-responses branch September 25, 2024 18:55
@mrashed-dev mrashed-dev mentioned this pull request Sep 25, 2024
mrashed-dev added a commit that referenced this pull request Sep 25, 2024
# Changelog
### Added
* Added new error class `NylasSdkRemoteClosedError` for when the remote
connection is closed (#244)
* Added support for new filter fields for listing events (#245)
* Added response headers to Nylas API error objects (#246, #221)

# License
<!-- Your PR comment must contain the following line for us to merge the
PR. -->
I confirm that this contribution is made under the terms of the MIT
license and that I have the authority necessary to make this
contribution on behalf of its copyright owner.
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.

Need to access Response Headers through RequestFailedException
2 participants