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?
optionalextensions?:Record<string,any>
Defined in: client/GraphQLOperationError.ts:12
locations?
optionallocations?:object[]
Defined in: client/GraphQLOperationError.ts:10
column
column:
number
line
line:
number
message
message:
string
Defined in: client/GraphQLOperationError.ts:9
path?
optionalpath?: (string|number)[]
Defined in: client/GraphQLOperationError.ts:11