Vc dZGddeZGddeZGddeZGddeZGd d eZGd d eZGd deZGddeZ GddeZ GddeZ GddeZ GddeZ GddeZGddeZGddeZGdd eZGd!d"eZGd#d$eZGd%d&eZd'S)(adistutils.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".ceZdZdZdS)DistutilsErrorzThe root of all Distutils evil.N__name__ __module__ __qualname____doc__)/usr/lib64/python3.11/distutils/errors.pyrr s))Dr rceZdZdZdS)DistutilsModuleErrorzUnable to load an expected module, or to find an expected class within some module (in particular, command modules and classes).Nrr r r r r sHHDr r ceZdZdZdS)DistutilsClassErrorzSome 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. implementing some part of the "command "interface.Nrr r r rrs Dr rceZdZdZdS)DistutilsGetoptErrorz7The option table provided to 'fancy_getopt()' is bogus.Nrr r r rrsAADr rceZdZdZdS)DistutilsArgErrorzaRaised by fancy_getopt in response to getopt.error -- ie. an error in the command line usage.Nrr r r rrs((Dr rceZdZdZdS)DistutilsFileErrorzAny problems in the filesystem: expected file not found, etc. Typically this is for problems that we detect before OSError could be raised.Nrr r r rr$s Dr rceZdZdZdS)DistutilsOptionErroraSyntactic/semantic errors in command options, such as use of mutually conflicting options, or inconsistent options, badly-spelled values, etc. No distinction is made between option values originating in the setup script, the command line, config files, or what-have-you -- but if we *know* something originated in the setup script, we'll raise DistutilsSetupError instead.Nrr r r rr*sBB  Dr rceZdZdZdS)DistutilsSetupErrorzqFor errors that can be definitely blamed on the setup script, such as invalid keyword arguments to 'setup()'.Nrr r r rr3s77Dr rceZdZdZdS)DistutilsPlatformErrorzWe don't know how to do something on the current platform (but we do know how to do it on some platform) -- eg. trying to compile C files on a platform not supported by a CCompiler subclass.Nrr r r rr8sDD Dr rceZdZdZdS)DistutilsExecErrorz`Any problems executing an external program (such as the C compiler, when compiling C files).Nrr r r rr>s**Dr rceZdZdZdS)DistutilsInternalErrorzoInternal inconsistencies or impossibilities (obviously, this should never be seen if the code is working!).Nrr r r rrCs66Dr rceZdZdZdS)DistutilsTemplateErrorz%Syntax error in a file list template.Nrr r r r!r!Hs////r r!ceZdZdZdS)DistutilsByteCompileErrorzByte compile error.Nrr r r r#r#Ksr r#ceZdZdZdS)CCompilerErrorz#Some compile/link operation failed.Nrr r r r%r%Os----r r%ceZdZdZdS)PreprocessErrorz.Failure to preprocess one or more C/C++ files.Nrr r r r'r'Rs8888r r'ceZdZdZdS) CompileErrorz2Failure to compile one or more C/C++ source files.Nrr r r r)r)Us<<<r1s9DD     i        N        >        N                .        N        >        n        .        n   00000n000.....i...99999~999=====N===3333333333r