summaryrefslogtreecommitdiff
path: root/errors.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-06-25 02:12:14 +0000
committerGreg Ward <gward@python.net>2000-06-25 02:12:14 +0000
commite4b7595cc2c3b3cfb5830579792155aa2b82494a (patch)
tree78e85ba6ab1b08ea4837011d3b28e13341cc30da /errors.py
parentef29e55a0092ccf9c959cd1cdb5edc96edf4dc8f (diff)
downloadpython-setuptools-git-e4b7595cc2c3b3cfb5830579792155aa2b82494a.tar.gz
Added PreprocessError and UnknownFileError (both used by CCompiler).
Diffstat (limited to 'errors.py')
-rw-r--r--errors.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/errors.py b/errors.py
index 16170563..a718f01a 100644
--- a/errors.py
+++ b/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."""