E02 Prefijo distinto del contrato
- Constante
E_UNKNOWN_PREFIX- Especificación
- §5
- Modo tolerante
- Se registra y el documento se construye igual
El prefijo de la cabecera no coincide con el del contrato con el que se está validando (o no existe en el registro de familias).
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.
E02 Prefix differs from the contract
- Constant
E_UNKNOWN_PREFIX- Specification
- §5
- Lenient mode
- Recorded and the document is built anyway
The header prefix does not match the contract it is validated against (or does not exist in the family registry).
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.