sprig and prose docs classic docs
Reference› Errors› SP016 ExpectedTokenError

SP016 ExpectedTokenError

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

The next token was not what this construct needed. A missing opening brace or a stray keyword are common cases. Add what was expected, or remove what does not belong.

The universe does not record which construct raises this code.

In the compiler

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