sprig and prose docs classic docs
Reference› Errors› SP029 UnexpectedCharacterError

SP029 UnexpectedCharacterError

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

A character that prose has no use for appeared outside a describe or a title. Names use only unaccented letters, digits, hyphens and underscores, and start with a letter or an underscore. Two slashes and a hash do not start a comment in prose. Any other character belongs inside a describe or a title, where it is kept as written.

Raised by

  • Comment — A comment is a note for whoever edits the file next.

In the compiler

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