Skip to main content

Interface: GraphQLErrorEntry

Defined in: client/GraphQLOperationError.ts:8

Thrown when a GraphQL operation returns one or more errors in its response.

Replaces the previous behavior where errors were silently logged and the caller was handed a response with data: undefined, which then crashed downstream wrapper constructors with confusing TypeErrors.

Properties​

extensions?​

optional extensions?: Record<string, any>

Defined in: client/GraphQLOperationError.ts:12


locations?​

optional locations?: object[]

Defined in: client/GraphQLOperationError.ts:10

column​

column: number

line​

line: number


message​

message: string

Defined in: client/GraphQLOperationError.ts:9


path?​

optional path?: (string | number)[]

Defined in: client/GraphQLOperationError.ts:11