generatedextracted from the source that raises it
E_BRANCH_ON_SIGNAL
A named refusal, raised in one place in compiler. What it refused, the sentence it prints, and the argument for it.
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
| File | Line |
|---|---|
packages/compiler/src/lower.ts | 555 |
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:
| Code | What it says | Raised in |
|---|---|---|
E_ATTRIBUTE_UNSUPPORTED | prop … of <…> has an unsupported value | compiler |
E_BRANCH_MIXES_SHAPE_AND_VALUE | every 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 value | compiler |
E_BRANCH_NOT_SOLE_CHILD | every 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 value | compiler |
E_CHILDREN_AS_PROP | children is markup rather than a value; write it between <…> and </…> | compiler |
E_CHILDREN_NOT_A_VALUE | children is markup a caller wrote, not a value; interpolate it as the only child of an element | compiler |