Add initial version of autoserv



git-svn-id: http://test.kernel.org/svn/autotest/trunk@557 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/errors.py b/server/errors.py
new file mode 100644
index 0000000..6f88cdf
--- /dev/null
+++ b/server/errors.py
@@ -0,0 +1,22 @@
+#!/usr/bin/python
+#
+# Copyright 2007 Google Inc. Released under the GPL v2
+
+"""Exceptions deliberatly thrown by autoserv
+"""
+
+__author__ = """mbligh@google.com (Martin J. Bligh),
+poirier@google.com (Benjamin Poirier),
+stutsman@google.com (Ryan Stutsman)"""
+
+
+class AutoservError(Exception):
+	pass
+
+class AutoservRunError(AutoservError):
+	"""Errors raised by one of the run functions"""
+	pass
+
+class AutoservVirtError(AutoservError):
+	"""Vitualization related error"""
+	pass