ArchLex Error Codes
Complete reference of all diagnostic codes.
Parse
- 🔴 AL-PARSE-001 - Unexpected token ’${token}’
- 🔴 AL-PARSE-002 - Syntax error: ${details}
- 🔴 AL-PARSE-MISSING-ENDPOINT - Expected relationship endpoint after arrow operator
- 🔴 AL-PARSE-MISSING-BRACE - Expected closing brace ’}’ for ${scopeType} block
Structural
- 🔴 AL-STRUCT-DUPLICATE-ID - Resource ‘{line}:${column}
- 🔵 AL-STRUCT-CONFLICTING-LABEL - Display label for ’${id}’ conflicts with previous definition
- 🔴 AL-STRUCT-DUPLICATE-DIRECTIVE - Duplicate ‘{directiveName} directive is allowed.
- 🔴 AL-STRUCT-LATE-DIRECTIVE - Directive ’${directiveName}’ must appear before all resource and relationship declarations
- 🔴 AL-STRUCT-INVALID-DIRECTIVE - Invalid value ‘{directiveName}’ directive
Semantic
- 🔵 AL-SEM-UNKNOWN-RESOURCE - Unknown service type ‘{provider}’
- 🔵 AL-SEM-UNKNOWN-RELATIONSHIP - Unknown relationship type ‘{leftKind}’ and ’${rightKind}’
- 🔵 AL-SEM-EMPTY-GRAPH - Document contains no resources or relationships