UNPKG

@metamask/kernel-errors

Version:
32 lines 3.58 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isMarshaledOcapError = exports.isMarshaledError = exports.unmarshalError = exports.marshalError = exports.isOcapError = exports.toError = exports.MarshaledOcapErrorStruct = exports.MarshaledErrorStruct = exports.ErrorStruct = exports.ErrorSentinel = exports.ErrorCode = exports.SubclusterNotFoundError = exports.StreamReadError = exports.VatNotFoundError = exports.VatDeletedError = exports.VatAlreadyExistsError = void 0; var VatAlreadyExistsError_ts_1 = require("./errors/VatAlreadyExistsError.cjs"); Object.defineProperty(exports, "VatAlreadyExistsError", { enumerable: true, get: function () { return VatAlreadyExistsError_ts_1.VatAlreadyExistsError; } }); var VatDeletedError_ts_1 = require("./errors/VatDeletedError.cjs"); Object.defineProperty(exports, "VatDeletedError", { enumerable: true, get: function () { return VatDeletedError_ts_1.VatDeletedError; } }); var VatNotFoundError_ts_1 = require("./errors/VatNotFoundError.cjs"); Object.defineProperty(exports, "VatNotFoundError", { enumerable: true, get: function () { return VatNotFoundError_ts_1.VatNotFoundError; } }); var StreamReadError_ts_1 = require("./errors/StreamReadError.cjs"); Object.defineProperty(exports, "StreamReadError", { enumerable: true, get: function () { return StreamReadError_ts_1.StreamReadError; } }); var SubclusterNotFoundError_ts_1 = require("./errors/SubclusterNotFoundError.cjs"); Object.defineProperty(exports, "SubclusterNotFoundError", { enumerable: true, get: function () { return SubclusterNotFoundError_ts_1.SubclusterNotFoundError; } }); var constants_ts_1 = require("./constants.cjs"); Object.defineProperty(exports, "ErrorCode", { enumerable: true, get: function () { return constants_ts_1.ErrorCode; } }); Object.defineProperty(exports, "ErrorSentinel", { enumerable: true, get: function () { return constants_ts_1.ErrorSentinel; } }); Object.defineProperty(exports, "ErrorStruct", { enumerable: true, get: function () { return constants_ts_1.ErrorStruct; } }); Object.defineProperty(exports, "MarshaledErrorStruct", { enumerable: true, get: function () { return constants_ts_1.MarshaledErrorStruct; } }); Object.defineProperty(exports, "MarshaledOcapErrorStruct", { enumerable: true, get: function () { return constants_ts_1.MarshaledOcapErrorStruct; } }); var toError_ts_1 = require("./utils/toError.cjs"); Object.defineProperty(exports, "toError", { enumerable: true, get: function () { return toError_ts_1.toError; } }); var isOcapError_ts_1 = require("./utils/isOcapError.cjs"); Object.defineProperty(exports, "isOcapError", { enumerable: true, get: function () { return isOcapError_ts_1.isOcapError; } }); var marshalError_ts_1 = require("./marshal/marshalError.cjs"); Object.defineProperty(exports, "marshalError", { enumerable: true, get: function () { return marshalError_ts_1.marshalError; } }); var unmarshalError_ts_1 = require("./marshal/unmarshalError.cjs"); Object.defineProperty(exports, "unmarshalError", { enumerable: true, get: function () { return unmarshalError_ts_1.unmarshalError; } }); var isMarshaledError_ts_1 = require("./marshal/isMarshaledError.cjs"); Object.defineProperty(exports, "isMarshaledError", { enumerable: true, get: function () { return isMarshaledError_ts_1.isMarshaledError; } }); var isMarshaledOcapError_ts_1 = require("./marshal/isMarshaledOcapError.cjs"); Object.defineProperty(exports, "isMarshaledOcapError", { enumerable: true, get: function () { return isMarshaledOcapError_ts_1.isMarshaledOcapError; } }); //# sourceMappingURL=index.cjs.map