You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -119,10 +119,11 @@ The `graphqlHTTP` function accepts the following options:
119
119
provided, GraphQL's default spec-compliant [`formatError`][] function will be used.
120
120
121
121
Although the fields on the error provided to this function may vary (based on the error type), they will typically include:
122
-
***message:** the error message
123
-
***locations:** the location(s) in the Javascript code where the error ocurred
124
-
***path:** the path within the returned results where the error occurred (eg. in a schema violation error, the path to the part of the results that violated the schema)
125
-
***result:** the value which was returned by the resolver (if any)
122
+
123
+
-**message:** the error message
124
+
-**locations:** the location(s) in the Javascript code where the error ocurred
125
+
-**path:** the path within the returned results where the error occurred (eg. in a schema violation error, the path to the part of the results that violated the schema)
126
+
-**result:** the value which was returned by the resolver (if any)
126
127
127
128
-**`customParseFn`**: An optional function which will be used to create a document
0 commit comments