From fa846dd3430786fe7bc4ed951bb2105f49e50f69 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Thu, 10 Nov 2011 16:00:08 -0800 Subject: Refactor of QuotaError moved QuotaError from quota.py to exception.py Change-Id: Ic03301492a2df323074d73e8481e0e3aee89f74c --- nova/exception.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nova/exception.py') diff --git a/nova/exception.py b/nova/exception.py index 129dc775f..d749d89a0 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -871,3 +871,8 @@ class NoValidHost(NovaException): class WillNotSchedule(NovaException): message = _("Host %(host)s is not up or doesn't exist.") + + +class QuotaError(ApiError): + """Quota Exceeded.""" + pass -- cgit