This was originally a comment, but since it got a lot of upvotes and the OP claims it was what they were looking for, I'm reposting it as an answer:
It looks like it's a RateLimitExceededRateLimitExceeded exception. Though, if you really want to be sure, you could do this:
try:
# code
except Exception as e:
print e.__class__
This would print out the exception class that was raised, which will give you a definitive answer