error.py 213 Bytes
Newer Older
1
2
3
4
# Tweepy
# Copyright 2009 Joshua Roesslein
# See LICENSE

5
6
7
8
9
10
11
12
13
14
"""
Tweepy exception
"""
class TweepError(Exception):

  def __init__(self, reason):
    self.reason = reason

  def __str__(self):
    return self.reason