Last active
January 13, 2019 12:05
-
-
Save philsch/1f70623410016400d1fb34f964aef750 to your computer and use it in GitHub Desktop.
Blogpost: Monitor your GraphQL Apollo Server in Google Cloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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