"use strict";
// SPDX-License-Identifier: Apache-2.0
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const fast_safe_stringify_1 = __importDefault(require("fast-safe-stringify"));
class ValidationResponse {
    name;
    errors;
    constructor(name, errors) {
        this.name = name;
        this.errors = errors;
        Object.setPrototypeOf(this, ValidationResponse.prototype);
    }
    toString() {
        return (0, fast_safe_stringify_1.default)(this, undefined, 4);
    }
}
exports.default = ValidationResponse;
