freakboy3742/pyxero

Response 429 Rate limit exceeded handling

Closed this issue · 0 comments

Response code 429 is a rate limit error (example daily limit exceeded), and it is not handled.
I propose to make a PR to handle this. The 429 response indicates which rate limit is exceeded. Because this affects decisions about retrying, I will investigate the usefulness of an exception for daily limit exceeded.