everything-dev
Version:
A consolidated product package for building Module Federation apps with oRPC APIs.
19 lines (17 loc) • 544 B
JavaScript
import { Data } from "effect";
//#region src/services/deploy/errors.ts
var PublishTrainError = class extends 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
export { PublishTrainError };
//# sourceMappingURL=errors.mjs.map