From 22e98bbd6046046f4afcaa4d23235c6eb804fad5 Mon Sep 17 00:00:00 2001 From: Andreas Grosam Date: Tue, 5 Aug 2025 15:39:30 +0200 Subject: [PATCH] Fix minor inaccuracy in code comment --- Examples/Sources/Examples/List/LoadingList.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Examples/Sources/Examples/List/LoadingList.swift b/Examples/Sources/Examples/List/LoadingList.swift index 2d23017..994a20f 100644 --- a/Examples/Sources/Examples/List/LoadingList.swift +++ b/Examples/Sources/Examples/List/LoadingList.swift @@ -80,7 +80,6 @@ extension LoadingList.Transducer: EffectTransducer { let data = try await env.service(parameter) try input.send(.serviceLoaded(data)) } catch { - // Handle runtime errors explicitly - don't throw through the system try input.send(.serviceError(error)) } }) @@ -158,7 +157,7 @@ extension LoadingList.Transducer: EffectTransducer { // Service encounters error case (.modal(_, .loading(_), let context), .serviceError(let error)): - // Create retry action using stored input + // Setup Alert let confirmAction = State.Action( id: "OK", title: "OK",