Latest
function syntaxError
import { syntaxError } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/error/syntaxError.d.ts";

Produces a GraphQLError representing a syntax error, containing useful descriptive information about the syntax error's position in the source.

Parameters

source: Source
position: number
description: string