// SPDX-License-Identifier: Apache-2.0
import safeStringify from "fast-safe-stringify";
export default class ValidationResponse {
    name;
    errors;
    constructor(name, errors) {
        this.name = name;
        this.errors = errors;
        Object.setPrototypeOf(this, ValidationResponse.prototype);
    }
    toString() {
        return safeStringify(this, undefined, 4);
    }
}
