Zach Klippenstein (he/him) [MOD]
04/15/2020, 8:28 PMsubscribeAsState to behave like `Flow`’s collect. If you wrapped the exception outside the remember block before rethrowing, the stack traces would probably be really helpful for debugging as well.
Errors still “should” be handled by onErrorReturn and friends, but at least that would reduce the likelihood that actual exceptions get dropped on the floor by accident.Andrey Kulikov
04/15/2020, 8:56 PMonErrorReturn when you do expect that it can give you an errorAdam Powell
04/15/2020, 11:28 PMAdam Powell
04/15/2020, 11:30 PM