import * as mod from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/error/index.d.ts";
Classes
A GraphQLError describes an Error found during the parse, validate, or execute phases of performing a GraphQL operation. In addition to a message and stack trace, it also includes information about the locations in a GraphQL document and/or execution result that correspond to the Error. |
Functions
Given a GraphQLError, format it according to the rules described by the Response Format, Errors section of the GraphQL Specification. | |
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. | |
Prints a GraphQLError to a string, representing useful location information about the error's position in the source. | |
Produces a GraphQLError representing a syntax error, containing useful descriptive information about the syntax error's position in the source. |