docs / errors / E01

E01 Missing header

Constant
E_NO_HEADER
Specification
§5, §8
Lenient mode
Prevents building the document

The document does not start with the header line prefix|n=…. Without it there is no contract to apply: it is the only error that prevents building the document even in lenient mode.

How to see it

In the playground, “Editor & validator” tab, the “Inject 3 errors” button triggers E04, E05, E08 and E09 on the loaded example. From the command line, mini diagnose archivo.mini prints a JSON report with every error and the lines to regenerate.

E02 →