Raise correct error when rate limit exceeded