flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
9
BACK_BACK/node_modules/graphql/error/syntaxError.mjs
generated
vendored
Executable file
9
BACK_BACK/node_modules/graphql/error/syntaxError.mjs
generated
vendored
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
import { GraphQLError } from "./GraphQLError.mjs";
|
||||
/**
|
||||
* Produces a GraphQLError representing a syntax error, containing useful
|
||||
* descriptive information about the syntax error's position in the source.
|
||||
*/
|
||||
|
||||
export function syntaxError(source, position, description) {
|
||||
return new GraphQLError("Syntax Error: ".concat(description), undefined, source, [position]);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue