/** * Constructs a layer that fails with the specified cause. * * @tsplus static effect/core/io/Layer.Ops failCause */ export function failCause(cause: LazyArg>): Layer { return Layer.fromEffectEnvironment(Effect.failCauseSync(cause)) }