UNPKG

type-graphql

Version:

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

7 lines (6 loc) 249 B
export class MissingSubscriptionTopicsError extends Error { constructor(target, methodName) { super(`${target.name}#${methodName} subscription has no provided topics!`); Object.setPrototypeOf(this, new.target.prototype); } }