diff options
Diffstat (limited to 'school/node_modules/graphql/error/syntaxError.js')
-rw-r--r-- | school/node_modules/graphql/error/syntaxError.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/school/node_modules/graphql/error/syntaxError.js b/school/node_modules/graphql/error/syntaxError.js deleted file mode 100644 index 4804584..0000000 --- a/school/node_modules/graphql/error/syntaxError.js +++ /dev/null @@ -1,16 +0,0 @@ -"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: ".concat(description), undefined, source, [position]); -} |