diff options
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index e4e738e85..9c579322b 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -721,6 +721,11 @@ class QuotaResourceUnknown(QuotaNotFound): message = _("Unknown quota resources %(unknown)s.") +class UserQuotaNotFound(QuotaNotFound): + message = _("Quota for user %(user_id)s in project %(project_id)s " + "could not be found.") + + class ProjectQuotaNotFound(QuotaNotFound): message = _("Quota for project %(project_id)s could not be found.") |