]> mj.ucw.cz Git - eval.git/blobdiff - t/moe/__init__.py
Rewriting eval.py with new log, config and timeline
[eval.git] / t / moe / __init__.py
index 26e4f24ebf7951e5fc46bce03361b014eb3fd75d..63ca9b65108c95a7fc957e8fff77706427ec664e 100644 (file)
@@ -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