Skip to content

Diagnostics reference ​

Wist facade codes ​

CodeStage / meaning
UTC-WIST-001source-length preflight limit
UTC-WIST-002external-parameter-count preflight limit
UTC-WIST-LEX-001lexer failure
UTC-WIST-PARSE-001parser failure
UTC-WIST-DIALECT-001dialect composition failure
UTC-WIST-RESOLVE-001type/member resolution failure
UTC-WIST-RESOLVE-002ambiguous resolution
UTC-WIST-COMPILE-001backend compilation failure
UTC-WIST-SSA-001experimental SSA route failure
UTC-WIST-EXEC-001execution failure
UTC-WIST-VALIDATE-001validation failure not classified above
UTC-WIST-999unexpected internal failure

WistDiagnostic exposes code, severity, stage, source span, message and hints. Expected formula failures should be consumed through Validate or TryCompile; do not parse exception text as an API.

Generic Language SDK planning codes ​

FamilyCodesMeaning
feature graphUTL1001–UTL1003, UTL1203missing feature, feature conflict/cycle, unsupported backend
Toolchain APIUTL1501definition/package API incompatibility
contribution graphUTL2001–UTL2006, UTL2010–UTL2014missing/excluded contribution, dependency cycle, capability provider resolution, conflicts and ownership eligibility
slot ownershipUTL2101–UTL2103multiple owners or invalid explicit replacement
typed routes and passesUTL2201–UTL2204no compatible route, pass cycle, backend owner ambiguity, unplaceable pass
runtime providerUTL2301–UTL2304missing/ambiguous provider, missing execution input, provider removed by override

Handling pattern ​

csharp
var result = compiler.Compile(definition);
foreach (var diagnostic in result.Diagnostics)
{
    Console.Error.WriteLine(
        $"[{diagnostic.Severity}] {diagnostic.Code} " +
        $"({diagnostic.Stage}): {diagnostic.Message}");
}

Codes identify a contract class. Messages and suggested actions may become more precise during alpha; avoid persisting full English message text as a compatibility key.

Public developer manual. Internal reviews, proposals and maintainer material live under internal-docs/.