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

Improve error response #19

Merged
merged 2 commits into from
Jun 7, 2022
Merged

Improve error response #19

merged 2 commits into from
Jun 7, 2022

Conversation

refarer
Copy link
Collaborator

@refarer refarer commented Jun 2, 2022

Problem

At the moment an error is thrown with just this info response.status, response.statusText like in #15

Solution

Added TwitterResponseError with JSON error response and headers

@refarer refarer linked an issue Jun 2, 2022 that may be closed by this pull request
@refarer refarer requested a review from lagache June 6, 2022 21:35
@refarer refarer merged commit 235d4bd into main Jun 7, 2022
@refarer refarer deleted the 18-improve-error-response branch June 7, 2022 04:36
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.

Improve Error Response
2 participants