Sha256: bf7a1a96dbf1760aca26bac3dc4040f2f089506538101bffca5bc05bcee904fc
Contents?: true
Size: 501 Bytes
Versions: 26
Compression:
Stored size: 501 Bytes
Contents
'use strict'; Object.defineProperty(exports, '__esModule', { value: true, }); exports.syntaxError = syntaxError; var _GraphQLError = require('./GraphQLError.js'); /** * Produces a GraphQLError representing a syntax error, containing useful * descriptive information about the syntax error's position in the source. */ function syntaxError(source, position, description) { return new _GraphQLError.GraphQLError(`Syntax Error: ${description}`, { source, positions: [position], }); }
Version data entries
26 entries across 26 versions & 1 rubygems