MCPcopy Create free account
hub / github.com/json-editor/json-editor / reportMissingProp

Function reportMissingProp

docs/scripts/ajv-validator.js:5458–5461  ·  view source on GitHub ↗
(cxt, missing)

Source from the content-addressed store, hash-verified

5456 }
5457 exports.checkMissingProp = checkMissingProp;
5458 function reportMissingProp(cxt, missing) {
5459 cxt.setParams({ missingProperty: missing }, true);
5460 cxt.error();
5461 }
5462 exports.reportMissingProp = reportMissingProp;
5463 function hasPropFunc(gen) {
5464 return gen.scopeValue("func", {

Callers

nothing calls this directly

Calls 2

setParamsMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected