Skip to content

Commit 1a7e9cc

Browse files
Update README.md to include GraphQLError import
1 parent aa9fefd commit 1a7e9cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ Resolvers are provided a mutable context object that is shared between all resol
175175
``` javascript
176176
import express from 'express';
177177
import bodyParser from 'body-parser';
178+
import { GraphQLError } from 'graphql';
178179
import { graphqlExpress } from 'apollo-server-express';
179180
import { createExpressContext } from 'apollo-resolvers';
180181
import { formatError as apolloFormatError, createError } from 'apollo-errors';

0 commit comments

Comments
 (0)