graphql-paper
Version:
A flexible in-memory store based on a GraphQL Schema
14 lines (12 loc) • 325 B
JavaScript
;
class TypeDoesNotExist extends Error {
constructor({
typename
}) {
super();
this.name = 'TypeDoesNotExist';
this.message = `The type "${typename}" does not exist in the the graphql schema.`;
}
}
exports.TypeDoesNotExist = TypeDoesNotExist;
//# sourceMappingURL=type-does-not-exist.js.map