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 ada55ba32..454a053a0 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -1050,6 +1050,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.")