FunctionslocatedErrorlocatedError CallablelocatedError(rawOriginalError: unknown, nodes: undefined | null | ASTNode | readonly ASTNode[], path?: Maybe<readonly (string | number)[]>): GraphQLErrorGiven 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.ParametersrawOriginalError: unknownnodes: undefined | null | ASTNode | readonly ASTNode[]optionalpath: Maybe<readonly (string | number)[]>Returns 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.