When using tweepy cursor, what is the best practice for catching over capacity errors? : <p>I'm gathering information on a large number of users using Python's Tweepy library. I've the API initialized as follows </p>

<blockquote>
  <p>api = tweepy.API(auth,wait_on_rate_limit=True,
  wait_on_rate_limit_notify=True)</p>
</blockquote>

<p>where auth contains my tokens. This code responds well to rate limit errors, but doesn't work for some other errors. For example, I sometimes see the following exception. </p>

<blockquote>
<pre><code>tweepy.error.TweepError: [{'message': 'Over capacity', 'code': 130}]
</code></pre>
</blockquote>

<p>I can handle this exception using a try except, but I was wondering if there is a way to handle this exception within the cursor like I'm handling rate limit exceptions. I see parameters like retry_count, but I'm not sure if they will work for this case as they seem designed for HTTP errors. </p>
