Skip to main content

Errors and warnings

Every problem a Lore tool reports has a name, such as unknown-element or invalid-yaml. An error excludes what it is found in: a file, an entry or a .loreconfig. A warning excludes nothing.

The full list, with a description and an anchor for each name, is Errors and warnings in the specification. It is generated from spec/errors.json, so it always matches the tools. Which errors exclude a file and which exclude one entry is in Error reach.

The lore command prints excluded entries on stderr, one line each:

lore: excluded unknown-category in .lore/checkout.lore line 24 (entry dates-from-locale)

In JSON output the same problems are in excluded and warnings. With --strict, an excluded entry makes the command exit 1.

lore audit findings, such as source-changed, are a separate list: see lore audit. So are the problems lore verdicts reports: see Output formats.