feat(host): unify typed failure results
Represent denied, timeout, unavailable, and error host outcomes with one HostFailure result shape, update the browser adapter, and keep Workout host recovery flowing through app code before UI effects. req: host/002 req: host/005 req: local/003
This commit is contained in:
@@ -46,7 +46,9 @@ req: host/001 req: host/002 req: host/005
|
||||
|
||||
## Event flow
|
||||
|
||||
Host events are facts, not app mutations:
|
||||
Host events are facts, not app mutations. Denied, timeout, unavailable, and
|
||||
error cases all use `HostEvent::Failed(HostFailure { kind, ... })`, so app code
|
||||
handles one typed result shape before producing UI effects:
|
||||
|
||||
```text
|
||||
HostEvent
|
||||
|
||||
Reference in New Issue
Block a user