src/modules/client/api_errors.py
changeset 2097 068cc63b4d6e
parent 2089 c8b9d6341530
child 2100 6a366b063036
--- a/src/modules/client/api_errors.py	Thu Sep 30 14:32:39 2010 -0700
+++ b/src/modules/client/api_errors.py	Fri Oct 01 01:02:46 2010 -0700
@@ -1851,6 +1851,14 @@
                     "the -f (force) option.") % self.path
 
 
+class ImageCfgEmptyError(ApiException):
+        """Used to indicate that the image configuration is invalid."""
+
+        def __str__(self):
+                return _("The configuration data for the image located at "
+                    "'%s' is empty or missing.") % self.data
+
+
 class CreatingImageInNonEmptyDir(ImageCreationException):
         def __str__(self):
                 return _("the specified image path is not empty: %s.\nTo "