Refactor TooManyRequests error format

New error type TooManyRequestsError.