mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-13 12:55:05 -05:00
16 lines
306 B
Python
16 lines
306 B
Python
|
class FanartError(Exception):
|
||
|
def __str__(self):
|
||
|
return ', '.join(map(str, self.args))
|
||
|
|
||
|
def __repr__(self):
|
||
|
name = self.__class__.__name__
|
||
|
return '%s%r' % (name, self.args)
|
||
|
|
||
|
|
||
|
class ResponseFanartError(FanartError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class RequestFanartError(FanartError):
|
||
|
pass
|