QIEC diagnostics¶
The diagnostic the QIEC elaboration raises for a rejected source.
qiec_diagnostics
¶
The diagnostic the QIEC elaboration raises for a rejected source.
QiecDiagnosticError
¶
QiecDiagnosticError(message: str, *, code: str, file: str, line: int = 0, column: int = 0, program: str | None = None)
Bases: ValueError
A source-located, stable-code diagnostic from QIEC elaboration.
| PARAMETER | DESCRIPTION |
|---|---|
message
|
What was rejected.
TYPE:
|
code
|
The stable diagnostic code.
TYPE:
|
file
|
The file the source was read from.
TYPE:
|
line
|
The one-based line, or zero when unknown.
TYPE:
|
column
|
The zero-based column.
TYPE:
|
program
|
The program whose elaboration raised the diagnostic, when it was
raised inside a program body;
TYPE:
|