2 # Copyright 2009-2010 Joshua Roesslein
3 # See LICENSE for details.
5 from __future__ import print_function
10 class TweepError(Exception):
11 """Tweepy exception"""
13 def __init__(self, reason, response=None):
14 self.reason = six.text_type(reason)
15 self.response = response
16 Exception.__init__(self, reason)