summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 6d876f5b4..cad1c5c02 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -1060,6 +1060,14 @@ class InstanceNotFound(NotFound):
message = _("Instance %(instance_id)s could not be found.")
+class NodeNotFound(NotFound):
+ message = _("Node %(node_id)s could not be found.")
+
+
+class NodeNotFoundByUUID(NotFound):
+ message = _("Node with UUID %(node_uuid)s could not be found.")
+
+
class MarkerNotFound(NotFound):
message = _("Marker %(marker)s could not be found.")