summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index a9afe37a7..b4f453846 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -1153,6 +1153,11 @@ class InstanceActionEventNotFound(NovaException):
message = _("Event %(event)s not found for action id %(action_id)s")
+class UnexpectedVMStateError(NovaException):
+ message = _("unexpected VM state: expecting %(expected)s but "
+ "the actual state is %(actual)s")
+
+
class CryptoCAFileNotFound(FileNotFound):
message = _("The CA file for %(project)s could not be found")