Hierarchy

Constructors

  • Parameters

    • message: string
    • Optional nodes: ASTNode | readonly ASTNode[]
    • Optional source: any
    • Optional positions: readonly number[]
    • Optional path: readonly (string | number)[]
    • Optional originalError: Error
    • Optional extensions: Extensions

    Returns GraphQLError

Properties

extensions: Extensions
locations: readonly any[]
message: string
name: string
nodes: readonly any[]
originalError: Error
path: readonly (string | number)[]
positions: readonly number[]
source: any
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Accessors

  • get [toStringTag](): string
  • Returns string

Methods

  • Returns any

  • Returns string

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc