X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=t%2Fmoe%2F__init__.py;h=63ca9b65108c95a7fc957e8fff77706427ec664e;hb=204f84eafd2659dd82b06feb7d182d4a15a44237;hp=26e4f24ebf7951e5fc46bce03361b014eb3fd75d;hpb=dcc852db06f099b6c96b681c79832d41777da334;p=moe.git diff --git a/t/moe/__init__.py b/t/moe/__init__.py index 26e4f24..63ca9b6 100644 --- a/t/moe/__init__.py +++ b/t/moe/__init__.py @@ -1,9 +1,9 @@ # No initialization needed -class MoeErr(Exception): +class MoeError(Exception): pass -class SolutionErr(Exception): +class SolutionError(Exception): def __init__(self, message, stat_code=None): self.stat_code = stat_code @@ -14,3 +14,6 @@ class SolutionErr(Exception): return self.message else: return "%s: %s" % (self.stat_code, self.message) + +class TestError(SolutionError): + pass