AzeMark 2 · AzeForge 0.6.3
Diagnostics.
Diagnostics are the compiler's authoritative correction path. Preserve their code, severity, location, suggestion, fix, and related locations.
Envelope
Each diagnostic has a machine code, error, warning, or info severity, a message, and data. It may add source ranges, a suggestion, edit operations, and related ranges.
{
"code": "azeforge.plot#missing-domain",
"severity": "error",
"message": "...",
"location": { "start": { "line": 8, "column": 1 } },
"suggestion": "..."
}
Caps and failure behavior
The compiler caps diagnostics at 20 per block and 200 per document; deployments may only lower those limits. Invalid Source produces no partial Artifact.
Representative codes
This is a verified sample, not a complete catalog.
azeforge.equation#unsupported-notation azeforge.equation#chained-power azeforge.plot#missing-domain azeforge.plot#non-evaluable-construct azeforge.timing#invalid-wave azeforge.table#unknown-column-key azeforge.state#multiple-initials azeforge.sequence#unresolved-reference azeforge.geometry#ambiguous-construction azeforge.free-body#scale-conflict azeforge.diagram#group-endpoint azeforge.control#sign-count-mismatch azeforge.circuit#unknown-terminal azeforge.algorithm#assignment-in-condition azeforge.renderer#adapter-missing
Invalid sampler
The diagnostic sampler is intentionally non-compiling. Its comments pair defects with expected code-to-remedy examples.
Download the invalid sampler