@metamask/kernel-errors
Version:
17 lines • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.errorClasses = void 0;
const StreamReadError_ts_1 = require("./StreamReadError.cjs");
const VatAlreadyExistsError_ts_1 = require("./VatAlreadyExistsError.cjs");
const VatDeletedError_ts_1 = require("./VatDeletedError.cjs");
const VatNotFoundError_ts_1 = require("./VatNotFoundError.cjs");
const constants_ts_1 = require("../constants.cjs");
const SubclusterNotFoundError_ts_1 = require("./SubclusterNotFoundError.cjs");
exports.errorClasses = {
[constants_ts_1.ErrorCode.StreamReadError]: StreamReadError_ts_1.StreamReadError,
[constants_ts_1.ErrorCode.VatAlreadyExists]: VatAlreadyExistsError_ts_1.VatAlreadyExistsError,
[constants_ts_1.ErrorCode.VatDeleted]: VatDeletedError_ts_1.VatDeletedError,
[constants_ts_1.ErrorCode.VatNotFound]: VatNotFoundError_ts_1.VatNotFoundError,
[constants_ts_1.ErrorCode.SubclusterNotFound]: SubclusterNotFoundError_ts_1.SubclusterNotFoundError,
};
//# sourceMappingURL=index.cjs.map