flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
16
BACK_BACK/node_modules/graphql/error/locatedError.d.ts
generated
vendored
Executable file
16
BACK_BACK/node_modules/graphql/error/locatedError.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
import { Maybe } from '../jsutils/Maybe';
|
||||
|
||||
import { ASTNode } from '../language/ast';
|
||||
|
||||
import { GraphQLError } from './GraphQLError';
|
||||
|
||||
/**
|
||||
* Given an arbitrary value, 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(
|
||||
rawOriginalError: any,
|
||||
nodes: ASTNode | ReadonlyArray<ASTNode> | undefined,
|
||||
path?: Maybe<ReadonlyArray<string | number>>,
|
||||
): GraphQLError;
|
||||
Loading…
Add table
Add a link
Reference in a new issue