docs / errors / E20

E20 Invalid contract

Constant
E_CONTRACT
Specification
§10
Lenient mode
Detected when loading the contract

The contract.json violates the norm: missing prefix, duplicate names, unknown type, disallowed list separator… It is detected when loading the contract, not when reading documents.

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.

← E13E21 →