Expression errors
A runtime failure becomes a red error chip with the message and the source text. The page never breaks and never goes blank.
An unknown name:
expression error: unknown name "unknownName"unknownName
A type error, here + on a number and a string:
expression error: "+" needs two numbers or two strings1 + "two"
Division by zero:
expression error: division by zero1 / 0
An unknown function:
expression error: unknown function "doesNotExist"doesNotExist(1)
A query that does not match the pages schema:
expression error: Unrecognized key: "tga"count({tga: "project"})
A source longer than 500 characters is rejected before it runs (this one is padded):
expression error: expression is longer than 500 characters1 + 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
A parse failure, by contrast, stays the quiet chip: a Lua remnant that no grammar can read.
expression · not run
expression · not run
Anything the grammar cannot parse keeps the same quiet chip, so old SilverBullet expressions stay visible but inert.