Skip to content

Instantly share code, notes, and snippets.

@philsch
Last active January 13, 2019 12:05
Show Gist options
  • Save philsch/1f70623410016400d1fb34f964aef750 to your computer and use it in GitHub Desktop.
Save philsch/1f70623410016400d1fb34f964aef750 to your computer and use it in GitHub Desktop.
Blogpost: Monitor your GraphQL Apollo Server in Google Cloud
const {ApolloError} = require('apollo-server-express');
class DatabaseError extends ApolloError {
constructor(...args) {
super(...args);
}
}
module.exports = DatabaseError;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment