diff options
author | Greg Ward <gward@python.net> | 2000-06-25 02:12:14 +0000 |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-06-25 02:12:14 +0000 |
commit | de26ca58a37d83e01fbdeb7a0d01c8167b9cc905 (patch) | |
tree | 3536a2d6afa0e10981239c75d1a4b32a82196ac5 /Lib/distutils/errors.py | |
parent | 5360bedf4fcd36dfd0d609b5c8829ef80f204ef7 (diff) | |
download | cpython-de26ca58a37d83e01fbdeb7a0d01c8167b9cc905.tar.gz |
Added PreprocessError and UnknownFileError (both used by CCompiler).
Diffstat (limited to 'Lib/distutils/errors.py')
-rw-r--r-- | Lib/distutils/errors.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/distutils/errors.py b/Lib/distutils/errors.py index 161705633c..a718f01a40 100644 --- a/Lib/distutils/errors.py +++ b/Lib/distutils/errors.py @@ -78,6 +78,9 @@ class DistutilsInternalError (DistutilsError): class CCompilerError (Exception): """Some compile/link operation failed.""" +class PreprocessError (CCompilerError): + """Failure to preprocess one or more C/C++ files.""" + class CompileError (CCompilerError): """Failure to compile one or more C/C++ source files.""" @@ -89,4 +92,5 @@ class LinkError (CCompilerError): """Failure to link one or more C/C++ object files into an executable or shared library file.""" - +class UnknownFileError (CCompilerError): + """Attempt to process an unknown file type.""" |