Henry-Sarabia / igdb

Go client for the Internet Game Database API
https://api.igdb.com/
MIT License
81 stars 17 forks source link

Implement Temporary errors #75

Closed Henry-Sarabia closed 4 years ago

Henry-Sarabia commented 4 years ago

The API has a rate limit of 4 per second. If exceeded, returns status 429 Too Many Requests. If an error of this nature is received by the client, it is, by definition, temporary.

The error returned to the user should implement the Temporary behavior. See this article for more info.