Files
Job_App/node_modules/apollo-graphql/lib/schema/GraphQLSchemaValidationError.js
2025-03-28 12:30:19 +11:00

14 lines
555 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GraphQLSchemaValidationError = void 0;
class GraphQLSchemaValidationError extends Error {
constructor(errors) {
super();
this.errors = errors;
this.name = this.constructor.name;
Error.captureStackTrace(this, this.constructor);
this.message = errors.map((error) => error.message).join("\n\n");
}
}
exports.GraphQLSchemaValidationError = GraphQLSchemaValidationError;
//# sourceMappingURL=GraphQLSchemaValidationError.js.map