UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

8 lines • 271 B
import { GraphQLError } from "./GraphQLError.mjs"; export function syntaxError(source, position, description) { return new GraphQLError(`Syntax Error: ${description}`, { source, positions: [position], }); } //# sourceMappingURL=syntaxError.mjs.map