Once current user rate limit threshold is crossed all calls will return a 403 status code.
Currently this code is ignored by safe-parse thus cannot be handled by caller.
Is there any other way to catch those errors?
That's probably just an oversight. I think someone just needs to add 403 to these status codes: https://github.com/Raynes/tentacles/blob/master/src/tentacles/core.clj#L38
I can't remember if Github sends rate limit information with every request, but if so, the code could be modified to always return that in the JSON if that seems like a good idea too. But we can definitely catch the status codes.
Great! Just wanted to confirm before I start working on that.