]> granicus.if.org Git - python/commitdiff
Added DistutilsInternalError.
authorGreg Ward <gward@python.net>
Fri, 31 Mar 2000 02:57:31 +0000 (02:57 +0000)
committerGreg Ward <gward@python.net>
Fri, 31 Mar 2000 02:57:31 +0000 (02:57 +0000)
Lib/distutils/errors.py

index 86d91dd6c07a8a5875304d81188bb07d72e42b38..f9d5c8de5a89b60ddd9b5164ad6b8937974a5f1e 100644 (file)
@@ -68,6 +68,11 @@ if type (RuntimeError) is types.ClassType:
     class DistutilsExecError (DistutilsError):
         pass
 
+    # DistutilsInternalError is raised on internal inconsistencies
+    # or impossibilities
+    class DistutilsInternalError (DistutilsError):
+        pass
+
 # String-based exceptions
 else:
     DistutilsError = 'DistutilsError'
@@ -80,5 +85,6 @@ else:
     DistutilsValueError = 'DistutilsValueError'
     DistutilsPlatformError = 'DistutilsPlatformError'
     DistutilsExecError = 'DistutilsExecError'
+    DistutilsInternalError = 'DistutilsInternalError'
     
 del types