diff --git a/packages/fx/src/FormEntry.ts b/packages/fx/src/FormEntry.ts index e17ef16b1..01a908442 100644 --- a/packages/fx/src/FormEntry.ts +++ b/packages/fx/src/FormEntry.ts @@ -6,6 +6,7 @@ import type { ParseOptions } from "@effect/schema/AST" import { type ParseError } from "@effect/schema/ParseResult" import type { Cause } from "effect/Cause" import * as Effect from "effect/Effect" +import type { Exit } from "effect/Exit" import type * as Scope from "effect/Scope" import * as Fx from "./Fx.js" import { FxEffectBase } from "./internal/protos.js" @@ -188,6 +189,8 @@ class FromEntryImpl extends FxEffectBase Exit = () => this.ref.unsafeGet() + onFailure(cause: Cause): Effect.Effect { return this.ref.onFailure(cause) }