sprig and prose docs classic docs
Reference› Errors› SP007 TargetNotFoundError

SP007 TargetNotFoundError

ActiveError — Errors, when they are introduced, are always considered active.

A name used as a target could not be found. This is what a relationships block or a relates block reports when it points at something that does not resolve: a misspelled name, or a path whose parent does not exist. Check the spelling, or write the path from a scope you are already inside.

Raised by

  • Relates — A relates block is a pairing worth describing on its own.
  • Relationships — A relationships block records the connections a concept or dimension actually has.

In the compiler

  • packages/prose-parser/src/errors.js:199