Initial Save
This commit is contained in:
13
node_modules/graphql/error/locatedError.d.ts
generated
vendored
Normal file
13
node_modules/graphql/error/locatedError.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { ASTNode } from '../language/ast';
|
||||
import { GraphQLError } from './GraphQLError';
|
||||
|
||||
/**
|
||||
* Given an arbitrary Error, presumably thrown while attempting to execute a
|
||||
* GraphQL operation, produce a new GraphQLError aware of the location in the
|
||||
* document responsible for the original Error.
|
||||
*/
|
||||
export function locatedError(
|
||||
originalError: Error | GraphQLError,
|
||||
nodes: ReadonlyArray<ASTNode>,
|
||||
path: ReadonlyArray<string | number>,
|
||||
): GraphQLError;
|
||||
Reference in New Issue
Block a user