summaryrefslogtreecommitdiffstats
path: root/keystone/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone/exception.py')
-rw-r--r--keystone/exception.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/keystone/exception.py b/keystone/exception.py
index cc61a632..4b9721cf 100644
--- a/keystone/exception.py
+++ b/keystone/exception.py
@@ -95,10 +95,18 @@ class ServiceNotFound(NotFound):
"""Could not find service: %(service_id)s"""
+class DomainNotFound(NotFound):
+ """Could not find domain: %(domain_id)s"""
+
+
class TenantNotFound(NotFound):
"""Could not find tenant: %(tenant_id)s"""
+class ProjectNotFound(TenantNotFound):
+ """Could not find project: %(project_id)s"""
+
+
class TokenNotFound(NotFound):
"""Could not find token: %(token_id)s"""