summaryrefslogtreecommitdiff
path: root/ironic_python_agent/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'ironic_python_agent/errors.py')
-rw-r--r--ironic_python_agent/errors.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ironic_python_agent/errors.py b/ironic_python_agent/errors.py
index ff09cc9e..f551c95b 100644
--- a/ironic_python_agent/errors.py
+++ b/ironic_python_agent/errors.py
@@ -321,3 +321,9 @@ class DeviceNotFound(NotFound):
def __init__(self, details):
super(DeviceNotFound, self).__init__(details)
+
+
+# This is not something we return to a user, so we don't inherit it from
+# RESTError.
+class InspectionError(Exception):
+ """Failure during inspection."""