mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-29 18:45:48 -05:00
19 lines
763 B
Python
19 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.")
|