"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WizError = void 0;
const I18n_1 = require("../I18n");
const Custom_error_1 = require("../Custom-error");
class WizError extends Custom_error_1.default {
    constructor(code, ...restArgs) {
        super(code, I18n_1.default.error(code, ...restArgs));
    }
}
exports.WizError = WizError;
//# sourceMappingURL=index.js.map