runtime_src.graphqlmeshsdkerror

Class: GraphQLMeshSdkError<Data, Variables\>#

runtime/src.GraphQLMeshSdkError

Type parameters#

NameDefault
Dataany
Variablesany

Hierarchy#

  • Error

    GraphQLMeshSdkError

Table of contents#

Constructors#

Properties#

Methods#

Constructors#

constructor#

+ new GraphQLMeshSdkError<Data, Variables\>(errors: readonly GraphQLError[], document: DocumentNode, variables: Variables, data: Data): GraphQLMeshSdkError<Data, Variables\>

Type parameters:#

NameDefault
Dataany
Variablesany

Parameters:#

NameType
errorsreadonly GraphQLError[]
documentDocumentNode
variablesVariables
dataData

Returns: GraphQLMeshSdkError<Data, Variables\>

Defined in: packages/runtime/src/get-mesh.ts:168

Properties#

data#

data: Data


document#

document: DocumentNode


errors#

errors: readonly GraphQLError[]


message#

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:974


name#

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:973


prepareStackTrace#

Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

see https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces

Defined in: node_modules/@types/node/globals.d.ts:11


stack#

Optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:975


stackTraceLimit#

stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:13


variables#

variables: Variables

Methods#

captureStackTrace#

captureStackTrace(targetObject: object, constructorOpt?: Function): void

Create .stack property on a target object

Parameters:#

NameType
targetObjectobject
constructorOpt?Function

Returns: void

Defined in: node_modules/@types/node/globals.d.ts:4