Package distutils :: Module errors
[hide private]
[frames] | no frames]

Module errors

distutils.errors

Provides exceptions used by the Distutils modules. Note that Distutils modules may raise standard exceptions; in particular, SystemExit is usually raised for errors that are obviously the end-user's fault (eg. bad command-line arguments).

This module is safe to use in "from ... import *" mode; it only exports symbols whose names start with "Distutils" and end with "Error".

Classes [hide private]
DistutilsError
The root of all Distutils evil.
DistutilsModuleError
Unable to load an expected module, or to find an expected class within some module (in particular, command modules and classes).
DistutilsClassError
Some command class (or possibly distribution class, if anyone feels a need to subclass Distribution) is found not to be holding up its end of the bargain, ie.
DistutilsGetoptError
The option table provided to 'fancy_getopt()' is bogus.
DistutilsArgError
Raised by fancy_getopt in response to getopt.error -- ie.
DistutilsFileError
Any problems in the filesystem: expected file not found, etc.
DistutilsOptionError
Syntactic/semantic errors in command options, such as use of mutually conflicting options, or inconsistent options, badly-spelled values, etc.
DistutilsSetupError
For errors that can be definitely blamed on the setup script, such as invalid keyword arguments to 'setup()'.
DistutilsPlatformError
We don't know how to do something on the current platform (but we do know how to do it on some platform) -- eg.
DistutilsExecError
Any problems executing an external program (such as the C compiler, when compiling C files).
DistutilsInternalError
Internal inconsistencies or impossibilities (obviously, this should never be seen if the code is working!).
DistutilsTemplateError
Syntax error in a file list template.
CCompilerError
Some compile/link operation failed.
PreprocessError
Failure to preprocess one or more C/C++ files.
CompileError
Failure to compile one or more C/C++ source files.
LibError
Failure to create a static library from one or more C/C++ object files.
LinkError
Failure to link one or more C/C++ object files into an executable or shared library file.
UnknownFileError
Attempt to process an unknown file type.
Variables [hide private]
  __revision__ = '$Id: errors.py 37828 2004-11-10 22:23:15Z loew...
Variables Details [hide private]

__revision__

Value:
'$Id: errors.py 37828 2004-11-10 22:23:15Z loewis $'