generatedextracted from the source that raises it
E_NO_SUCH_LAYOUT
A named refusal, raised in 2 places in weft. 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.
| File | Line |
|---|---|
packages/weft/src/routes.ts | 253 |
packages/weft/src/routes.ts | 271 |
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_ASSETS_NOT_BUILT | an asset href was asked for before the bundle existed. Hrefs carry a digest of the bundle, so the table is built after the generator says which stylesheets each page links — this call happened before that | weft |
E_BAD_NAME | '…' is not a package name. Lower case, digits, dot, dash, underscore | weft |
E_BAD_SEGMENT | …: '…' is neither a literal, a [param] nor a [...wildcard] | weft |
E_BAD_SIGNING_KEY | the … key could not be imported as Ed25519: … | weft |
E_BLOCKED_PORT | … is on the WHATWG bad-port list, so a browser refuses every fetch() and WebSocket to it. The documents would still be served and the channel would never connect — silently, because a blocked request reports no error the page can see. Pick another port. | weft |