generatedextracted from the source that raises it
E_TRUNCATED_FRAME
A named refusal, raised in 2 places in warp. 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/warp/src/codec.ts | 227 |
packages/warp/src/codec.ts | 255 |
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_BAD_MAGIC | … is not … | warp |
E_EMPTY_FRAME | a frame needs a kind and a header | warp |
E_HEADER_TOO_LARGE | … B against a 16-bit field; use the body | warp |
E_REPEATED_PREAMBLE | a stream announces its version once and this one did so twice. Send the preamble with the first message on a connection and frames alone after it — a whole-stream encoder called per message is what produces this | warp |