Duolith docs

Errors E0500 to E0599

E0592 Key a domain file does not have

Message `key` is not a setting of part

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

Each part of a domain file takes a fixed set of keys: the file (domain, version, shapes, queries, commands, events, failures, workflows), a shape's settings (identity, keep, stale, ifDown, live), a query, a command, a workflow and its steps. A key that is not one of them is refused rather than ignored, so a misspelt setting can never silently do nothing.

How to fix it

Use the key the help names, or remove it.

In a terminal

duolith explain E0592