import { locatedError } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/error/locatedError.d.ts";
Given an arbitrary Error, presumably thrown while attempting to execute a GraphQL operation, produce a new GraphQLError aware of the location in the document responsible for the original Error.
Parameters
originalError: Error | GraphQLError
optional
path: Maybe<ReadonlyArray<string | number>>