We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff06428 commit 15040d0Copy full SHA for 15040d0
src/error/GraphQLError.ts
@@ -290,7 +290,7 @@ export function printError(error: GraphQLError): string {
290
* Given a GraphQLError, format it according to the rules described by the
291
* Response Format, Errors section of the GraphQL Specification.
292
*
293
- * @deprecated Please use `error.toString` instead. Will be removed in v17
+ * @deprecated Please use `error.toJSON` instead. Will be removed in v17
294
*/
295
export function formatError(error: GraphQLError): GraphQLFormattedError {
296
return error.toJSON();
0 commit comments