class 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, use_stdout=False, module_with_blocker=None): (source)

Undocumented

Parameters
messages:List[str]Undocumented
use​_stdout:boolUndocumented
module​_with​_blocker:Optional[str]Undocumented
messages = (source)

Undocumented

module_with_blocker = (source)

Undocumented

use_stdout = (source)

Undocumented