mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 03:23:42 -05:00
20 lines
763 B
Python
20 lines
763 B
Python
|
__author__ = u'schmatz'
|
||
|
#TODO: Clean these up
|
||
|
class CoCoError(Exception):
|
||
|
def __init__(self,details):
|
||
|
self.details = details
|
||
|
def __str__(self):
|
||
|
return repr(self.details + u"\n Please contact CodeCombat support, and include this error in your message.")
|
||
|
|
||
|
class NotSupportedError(CoCoError):
|
||
|
def __init__(self,details):
|
||
|
self.details = details
|
||
|
def __str__(self):
|
||
|
return repr(self.details + u"\n Please contact CodeCombat support, and include this error in your message.")
|
||
|
|
||
|
class DownloadCorruptionError(CoCoError):
|
||
|
def __init__(self,details):
|
||
|
self.details = details
|
||
|
def __str__(self):
|
||
|
return repr(self.details + u"\n Please contact CodeCombat support, and include this error in your message.")
|