mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame^] | 1 | #!/usr/bin/python |
| 2 | # |
| 3 | # Copyright 2007 Google Inc. Released under the GPL v2 |
| 4 | |
| 5 | """Exceptions deliberatly thrown by autoserv |
| 6 | """ |
| 7 | |
| 8 | __author__ = """mbligh@google.com (Martin J. Bligh), |
| 9 | poirier@google.com (Benjamin Poirier), |
| 10 | stutsman@google.com (Ryan Stutsman)""" |
| 11 | |
| 12 | |
| 13 | class AutoservError(Exception): |
| 14 | pass |
| 15 | |
| 16 | class AutoservRunError(AutoservError): |
| 17 | """Errors raised by one of the run functions""" |
| 18 | pass |
| 19 | |
| 20 | class AutoservVirtError(AutoservError): |
| 21 | """Vitualization related error""" |
| 22 | pass |