Skip to content

Errors ​

Complete error catalog from src/errors.js. Every user-facing failure is a SwarmError with stable code, exit code, and hint.

Error catalog ​

CodeExit codeCauseExample messageHint
E_USAGEUSAGEusage[varies]Run with --help to see the correct usage.
E_RENDER_FAILEDRENDER_FAILEDrender failed[varies]See the render log above.

Error format ​

Error message
  Hint: suggestion

Example:

Found 2 problem(s) in data.csv:
- Line 5, column "Opacity": "abc" is not a number.
- Line 8, column "Logo": file not found: /path/to/missing.png
  Hint: Fix the reported rows/columns, then run again.

In --json mode ​

Errors appear in NDJSON row events:

json
{
  "event": "row",
  "index": 5,
  "where": "line 6",
  "status": "failed",
  "output": null,
  "seconds": 0,
  "error": "EffectCraft render failed with code 1"
}

Independent project. Not affiliated with the ArtCraft team or the EffectCraft project.