Error ReferenceError System Overview

ArchLex Error Codes

Complete reference of all diagnostic codes.

Parse

Structural

  • 🔴 AL-STRUCT-DUPLICATE-ID - Resource ‘id′conflictswithexistingdeclarationat{id}' conflicts with existing declaration at {line}:${column}
  • 🔵 AL-STRUCT-CONFLICTING-LABEL - Display label for ’${id}’ conflicts with previous definition
  • 🔴 AL-STRUCT-DUPLICATE-DIRECTIVE - Duplicate ‘directiveName′directive.Onlyone{directiveName}' directive. Only one {directiveName} directive is allowed.
  • 🔴 AL-STRUCT-LATE-DIRECTIVE - Directive ’${directiveName}’ must appear before all resource and relationship declarations
  • 🔴 AL-STRUCT-INVALID-DIRECTIVE - Invalid value ‘value′for′{value}' for '{directiveName}’ directive

Semantic

  • 🔵 AL-SEM-UNKNOWN-RESOURCE - Unknown service type ‘serviceKind′forprovider′{serviceKind}' for provider '{provider}’
  • 🔵 AL-SEM-UNKNOWN-RELATIONSHIP - Unknown relationship type ‘relationshipKind′between′{relationshipKind}' between '{leftKind}’ and ’${rightKind}’
  • 🔵 AL-SEM-EMPTY-GRAPH - Document contains no resources or relationships