summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index c484b5120..9507a0088 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -410,6 +410,10 @@ class InvalidUUID(Invalid):
message = _("Expected a uuid but received %(uuid)s.")
+class InvalidPeriodicTaskArg(Invalid):
+ message = _("Unexpected argument for periodic task creation: %(arg)s.")
+
+
class ConstraintNotMet(NovaException):
message = _("Constraint not met.")
code = 412