UNPKG

type-graphql

Version:

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

12 lines (11 loc) 455 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MissingPubSubError = void 0; class MissingPubSubError extends Error { constructor() { super("Looks like you've forgot to provide `pubSub` option in `buildSchema()`. " + "Subscriptions can't work without a proper PubSub system."); Object.setPrototypeOf(this, new.target.prototype); } } exports.MissingPubSubError = MissingPubSubError;