Cleaned up exception logging.

This commit is contained in:
Michael Lazar
2015-10-14 23:25:50 -07:00
parent d52f574746
commit 2980097d7c
4 changed files with 20 additions and 36 deletions

View File

@@ -13,16 +13,10 @@ class AccountError(RTVError):
class SubmissionError(RTVError):
"Submission could not be loaded"
def __init__(self, url):
self.url = url
class SubredditError(RTVError):
"Subreddit could not be reached"
def __init__(self, name):
self.name = name
class SubscriptionError(RTVError):
"Subscriptions could not be fetched"
@@ -30,6 +24,3 @@ class SubscriptionError(RTVError):
class ProgramError(RTVError):
"Problem executing an external program"
def __init__(self, name):
self.name = name