errors.py 573 B

123456789101112131415161718192021222324
  1. class Error(Exception):
  2. """Some compile/link operation failed."""
  3. class PreprocessError(Error):
  4. """Failure to preprocess one or more C/C++ files."""
  5. class CompileError(Error):
  6. """Failure to compile one or more C/C++ source files."""
  7. class LibError(Error):
  8. """Failure to create a static library from one or more C/C++ object
  9. files."""
  10. class LinkError(Error):
  11. """Failure to link one or more C/C++ object files into an executable
  12. or shared library file."""
  13. class UnknownFileType(Error):
  14. """Attempt to process an unknown file type."""