Skip to content

Diagnostic Codes

CodeMessageResolution
E001Config file not foundCheck --config path
E002Config version unsupportedUpdate codegen binary, config uses a newer schema
E003Rule script not foundVerify script filename matches the config basename
E004Grouping script missing entityAdd all entity registryIds to the grouping output map
E005Grouping output path escapes output directoryUse a relative path without .. components
E006LuaU runtime error in transformationSee logged error message for script line and reason
E007LuaU runtime error in preambleSee logged error message
E008LuaU runtime error in groupingSee logged error message
E009Transform returned invalid JSONRule must return json.encode({...}), not a plain string
E010HTTP allowlist violationAdd the domain to permissions.http.allowlist in config
E011Input directory not foundCheck --input path
E012Output directory not writableCheck filesystem permissions
E101License not activatedRun codegen license activate <key>
E102Feature requires higher tierSee Tiers & Pricing
E103License token invalid or tamperedRe-activate with codegen license activate <key>
CodeMessageNotes
W001Entity matched but produced empty outputRule returned { source = "" }, may be intentional
W002Preamble returned empty stringMay be intentional for some output languages
W003Generated file unchanged, skipping writeInformational; not an error
W004Anchor comment site not found for inline injectionThe anchor comment may have been removed or moved

All diagnostics are written to stderr. Each line includes:

  • The error/warning code
  • The rule name
  • The entity identifier and source file (for entity-level errors)
  • A human-readable message
[E006] ToString | Color @ include/color.h:12
LuaU error: attempt to index nil with 'name' (rule line 8)