Skip to main content
function syntaxError
import { syntaxError } from "https://deno.land/x/kilatgraphql@16.6.0/mod.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