summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-06-25 02:12:14 (GMT)
committerGreg Ward <gward@python.net>2000-06-25 02:12:14 (GMT)
commit68ff615c7986526827b6d7fa8e2eb8650c17478a (patch)
tree73b836773a085622391845ca51f51c27173b9606 /Lib/distutils
parenteab969d70061b5f4643735ae68d385904360d221 (diff)
downloadcpython-68ff615c7986526827b6d7fa8e2eb8650c17478a.zip
cpython-68ff615c7986526827b6d7fa8e2eb8650c17478a.tar.gz
cpython-68ff615c7986526827b6d7fa8e2eb8650c17478a.tar.bz2
Added PreprocessError and UnknownFileError (both used by CCompiler).
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/errors.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/distutils/errors.py b/Lib/distutils/errors.py
index 1617056..a718f01 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."""