Initial Save
This commit is contained in:
14
node_modules/apollo-graphql/lib/schema/GraphQLSchemaValidationError.js
generated
vendored
Normal file
14
node_modules/apollo-graphql/lib/schema/GraphQLSchemaValidationError.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"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
|
||||
Reference in New Issue
Block a user