mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
bitkeeper revision 1.1080 (40f50d9aaH0Dd_smhBdPvYcIQFbsoA)
Improved error handling in xend and XendClient.
This commit is contained in:
1 parent
838c51889a
commit
bcb3aec834
16 files changed
+224
-140
No files matched your search
@@ -0,0 +1,14 @@
|
||||
|
||||
class XendError(ValueError):
|
||||
|
||||
def __init__(self, value):
|
||||
self.value = value
|
||||
|
||||
def __str__(self):
|
||||
return self.value
|
||||
|
||||
class VmError(XendError):
|
||||
"""Vm construction error."""
|
||||
|
||||
pass
|
||||
|
||||