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

E_BAD_MAGIC

A named refusal, raised in one place in warp. What it refused, the sentence it prints, and the argument for it.

named refusal warp packages/warp/src/codec.ts
… is not …

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.

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_EMPTY_FRAMEa frame needs a kind and a headerwarp
E_HEADER_TOO_LARGE… B against a 16-bit field; use the bodywarp
E_REPEATED_PREAMBLEa 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 thiswarp
E_TRUNCATED_FRAMEunterminated linewarp