Ready for action, sir!
This commit is contained in:
parent
f9e0bf948e
commit
6009df26de
669 changed files with 95073 additions and 2 deletions
19
scripts/devSetup/errors.py
Normal file
19
scripts/devSetup/errors.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
__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.")
|
Reference in a new issue