weft
ir 2.6.0 · warp 1.8.0
generatedextracted from the source that raises it

E_MAP_PARAM

A named refusal, raised in 2 places in compiler. What it refused, the sentence it prints, and the argument for it.

named refusal compiler packages/compiler/src/lower.ts·2 places
a row callback's second parameter is its position and has to be a plain name

The message as the source writes it, with interpolations shown as an ellipsis. It is a reconstruction of the template, not a capture of a runtime string.

Specified in
spec/compiler/supported-subset.md
Introduced by
Fragments and templates·One fragment inside another

Raised in the same package, or specified in the same document. A refusal rarely stands on its own — the ones beside it are usually the same rule seen from another angle:

CodeWhat it saysRaised in
E_ATTRIBUTE_UNSUPPORTEDprop … of <…> has an unsupported valuecompiler
E_BRANCH_MIXES_SHAPE_AND_VALUEevery arm of this conditional has to be markup, because the arms are sealed as templates and a value arm has no template to be. Wrap the value in an element, or make the whole conditional a valuecompiler
E_BRANCH_NOT_SOLE_CHILDevery arm of this conditional has to be markup, because the arms are sealed as templates and a value arm has no template to be. Wrap the value in an element, or make the whole conditional a valuecompiler
E_BRANCH_ON_SIGNALthis branch is decided by signal …, and a branch is chosen by the server — nothing on the client swaps one sealed subtree for another, so it would render once and never change. Use a conditional value, which is reactive, or choose in a loadercompiler
E_CHILDREN_AS_PROPchildren is markup rather than a value; write it between <…> and </…>compiler