UNPKG

everything-dev

Version:

A consolidated product package for building Module Federation apps with oRPC APIs.

19 lines (17 loc) • 569 B
let effect = require("effect"); //#region src/services/deploy/errors.ts var PublishTrainError = class extends effect.Data.TaggedError("PublishTrainError") { toResult() { return { status: "error", registryUrl: this.registryUrl, error: this.error, ...this.built !== void 0 ? { built: this.built } : {}, ...this.skipped !== void 0 ? { skipped: this.skipped } : {}, ...this.deployResults !== void 0 ? { deployResults: this.deployResults } : {} }; } }; //#endregion exports.PublishTrainError = PublishTrainError; //# sourceMappingURL=errors.cjs.map