Skip to main content
Latest
class GraphQLError
extends Error
import { GraphQLError } from "https://deno.land/x/graphql_deno@v15.0.0/lib/error/index.js";

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.

Constructors

new
GraphQLError(
message,
nodes,
source,
positions,
path,
originalError,
extensions,
)

Extension fields to add to the formatted error.

Properties

readonly
[SYMBOL_TO_STRING_TAG]