exception documentation

class CompileError(Exception): (source)

View In Hierarchy

Exception raised when there is a compile error. It can be a parse, semantic analysis, type check or other compilation-related error. CompileErrors raised from an errors object carry all of the messages that have not been reported out by error streaming. This is patched up by build.build to contain either all error messages (if errors were streamed) or none (if they were not).

Method __init__ Undocumented
Instance Variable messages Undocumented
Instance Variable module_with_blocker Undocumented
Instance Variable use_stdout Undocumented
def __init__(self, messages: list[str], use_stdout: bool = False, module_with_blocker: str|None = None): (source)

Undocumented

messages = (source)

Undocumented

module_with_blocker = (source)

Undocumented

use_stdout = (source)

Undocumented