Skip to content

Instantly share code, notes, and snippets.

@kirkness
Created January 6, 2019 21:44
Show Gist options
  • Save kirkness/02dd2d816ed8c0f91e5b9803b7d2f361 to your computer and use it in GitHub Desktop.
Save kirkness/02dd2d816ed8c0f91e5b9803b7d2f361 to your computer and use it in GitHub Desktop.
new ApolloServer({
typeDefs,
resolvers,
formatError: error => new Error('Internal server error')
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment