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 244b7bcb..d263af5f 100644
--- a/ironic_python_agent/errors.py
+++ b/ironic_python_agent/errors.py
@@ -331,3 +331,9 @@ class DeviceNotFound(NotFound):
# RESTError.
class InspectionError(Exception):
"""Failure during inspection."""
+
+
+class ClockSyncError(RESTError):
+ """Error raised when attempting to sync the system clock."""
+
+ message = 'Error syncing system clock'