E01 Falta la cabecera
- Constante
E_NO_HEADER- Especificación
- §5, §8
- Modo tolerante
- Impide construir el documento
El documento no empieza con la línea de cabecera prefijo|n=…. Sin ella no hay contrato que aplicar: es el único error que impide construir el documento incluso en modo tolerante.
Cómo verlo
En el playground, pestaña «Editor y validador», el botón «Inyectar 3 errores» provoca E04, E05, E08 y E09 sobre el ejemplo cargado.
Desde la línea de comandos, mini diagnose archivo.mini imprime un informe JSON con todos los errores y las líneas a regenerar.
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.