mirror of
https://github.com/rjNemo/federation
synced 2026-06-09 03:36:38 +00:00
13 lines
No EOL
506 B
JavaScript
13 lines
No EOL
506 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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
|