diff options
| author | Greg Ward <gward@python.net> | 1999-08-14 23:43:45 +0000 |
|---|---|---|
| committer | Greg Ward <gward@python.net> | 1999-08-14 23:43:45 +0000 |
| commit | 6c5612c1cbdcc3fe4762d0ef80948a37a7cbdc3b (patch) | |
| tree | ad0dc331c63be30a190983a44392d0a405f37790 /errors.py | |
| parent | 8c9d03208b4de8de842b039922fad2373ea6bf0f (diff) | |
| download | python-setuptools-git-6c5612c1cbdcc3fe4762d0ef80948a37a7cbdc3b.tar.gz | |
Added DistutilsExecError, DistutilsValueError.
Diffstat (limited to 'errors.py')
| -rw-r--r-- | errors.py | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -52,12 +52,22 @@ if type (RuntimeError) is types.ClassType: class DistutilsOptionError (DistutilsError): pass + # DistutilsValueError is raised anytime an option value (presumably + # provided by setup.py) is invalid. + class DistutilsValueError (DistutilsError): + pass + # DistutilsPlatformError is raised when we find that we don't # know how to do something on the current platform (but we do # know how to do it on some platform). class DistutilsPlatformError (DistutilsError): pass + # DistutilsExecError is raised if there are any problems executing + # an external program + class DistutilsExecError (DistutilsError): + pass + # String-based exceptions else: DistutilsError = 'DistutilsError' @@ -67,6 +77,8 @@ else: DistutilsArgError = 'DistutilsArgError' DistutilsFileError = 'DistutilsFileError' DistutilsOptionError = 'DistutilsOptionError' + DistutilsValueError = 'DistutilsValueError' DistutilsPlatformError = 'DistutilsPlatformError' - + DistutilsExecError = 'DistutilsExecError' + del types |
