"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.areGraphQLErrorsEqual = void 0;
const graphql_1 = require("graphql");
const areGraphQLErrorsEqual = function (a, b, customTesters) {
    if (a instanceof graphql_1.GraphQLError || b instanceof graphql_1.GraphQLError) {
        return this.equals(a instanceof graphql_1.GraphQLError ? a.toJSON() : a, b instanceof graphql_1.GraphQLError ? b.toJSON() : b, customTesters);
    }
};
exports.areGraphQLErrorsEqual = areGraphQLErrorsEqual;
//# sourceMappingURL=areGraphQlErrorsEqual.cjs.map
