"cloudcontrol/node/__init__.py" did not exist on "6cd44a88fa31cb7446dc18e91e65f4f68cfce040"
Newer
Older
'''
All errors in ccnode are implemented here as exceptions
'''
class HypervisorError(Exception):
'''
Exception class for handling hypervisor related errors
'''
def __init__(self, exception, message):
self.exception = exception
self.message = message
def __str__(self):
return '%s -> %s' % (self.message, self.exception)
class VMError(Exception):
'''
Exception class for handling vm related errors
'''
pass
class StorageError(Exception):
'''
Base exception class for handling storage objects
'''
pass