summaryrefslogtreecommitdiff
path: root/iotronic/common/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'iotronic/common/exception.py')
-rw-r--r--iotronic/common/exception.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/iotronic/common/exception.py b/iotronic/common/exception.py
index f786645..76d24d2 100644
--- a/iotronic/common/exception.py
+++ b/iotronic/common/exception.py
@@ -597,3 +597,15 @@ class ErrorExecutionOnBoard(IotronicException):
597 597
598class ServiceNotFound(NotFound): 598class ServiceNotFound(NotFound):
599 message = _("Service %(Service)s could not be found.") 599 message = _("Service %(Service)s could not be found.")
600
601
602class ServiceAlreadyExists(Conflict):
603 message = _("A Service with UUID %(uuid)s already exists.")
604
605
606class ServiceAlreadyExposed(Conflict):
607 message = _("A Service with UUID %(uuid)s already exposed.")
608
609
610class ExposedServiceNotFound(NotFound):
611 message = _("ExposedService %(uuid)s could not be found.")