Move some error classes out of server/autotest.py and into the error
library, and associate them with the appropriate superclasses since
these errors are really autotest errors and not autoserv errors.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1233 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/common_lib/error.py b/client/common_lib/error.py
index c3b5eeb..a078b9c 100644
--- a/client/common_lib/error.py
+++ b/client/common_lib/error.py
@@ -60,6 +60,15 @@
"""Indicates an installation error which Terminates and fails the job."""
pass
+class AutotestRunError(AutotestError):
+ pass
+
+class AutotestTimeoutError(AutotestError):
+ """This exception is raised when an autotest test exceeds the timeout
+ parameter passed to run_timed_test and is killed.
+ """
+
+
# server-specific errors
class AutoservError(Exception):