MCPcopy Create free account
hub / github.com/openai/plugins / reportError

Method reportError

plugins/shopify/skills/shopify-partner/scripts/validate.mjs:6548–6555  ·  view source on GitHub ↗
(message, nodes)

Source from the content-addressed store, hash-verified

6546 this.schema = schema;
6547 }
6548 reportError(message, nodes) {
6549 const _nodes = Array.isArray(nodes) ? nodes.filter(Boolean) : nodes;
6550 this._errors.push(
6551 new _GraphQLError.GraphQLError(message, {
6552 nodes: _nodes
6553 })
6554 );
6555 }
6556 getErrors() {
6557 return this._errors;
6558 }

Callers 15

validateRootTypesFunction · 0.45
validateDirectivesFunction · 0.45
validateNameFunction · 0.45
validateTypesFunction · 0.45
validateFieldsFunction · 0.45
validateInterfacesFunction · 0.45
validateUnionMembersFunction · 0.45
validateEnumValuesFunction · 0.45
validateInputFieldsFunction · 0.45

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected