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

Provide more details in rate limit error #49

Merged
merged 1 commit into from
May 31, 2016
Merged

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented May 31, 2016

When a request fails due to rate limiting, include the number of previous requests made and the time interval in which they were made in the returned error. Also include the server error message for other errors, such as invalid input errors.

/ref mapbox/mapbox-directions-swift#47

@1ec5 1ec5 self-assigned this May 31, 2016
@1ec5 1ec5 merged commit 9e25b42 into master May 31, 2016
@1ec5 1ec5 deleted the 1ec5-error-messages branch May 31, 2016 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant