octokit/octokit.rb

[MAINT]: Extend TooManyRequests test to check that the error message still differentiates between primary & secondary rate limits.

arjitj2 opened this issue · 0 comments

Describe the need

Both primary and secondary API rate limits raise the same Octokit::TooManyRequests error.

I would prefer for 2 separate errors to be raised, but if they're going to be the same, I'd like an additional regex check to make sure the error messages are being transparently passed through in the error.

SDK Version

No response

API Version

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct