E04 Número de registros distinto de `n`
- Constante
E_COUNT_MISMATCH- Especificación
- §5, §9
- Modo tolerante
- Se registra y el documento se construye igual
Se declararon n registros pero se leyó otra cantidad de líneas válidas. En modo tolerante el documento se construye igual y este error queda registrado; el lector en streaming lo expone como missing.
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.
E04 Record count differs from `n`
- Constant
E_COUNT_MISMATCH- Specification
- §5, §9
- Lenient mode
- Recorded and the document is built anyway
n records were declared but another number of valid lines was read. In lenient mode the document is built anyway and this error is recorded; the streaming reader exposes it as missing.
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.