Can anyone elaborate a bit more on these two items...
# compose
r
Can anyone elaborate a bit more on these two items from compose roadmap? What are the ideas for exception handling and what is composition tracing?
s
Exception handling is exploration of handling/reporting errors thrown in Composable functions. Currently exceptions just crash the app, but they could be potentially recovered from. Composition tracing adds Composable functions to perfetto traces IIRC, helpful for profiling/debugging
I don't think there are any particular ideas for error handling we have settled on atm, but the baseline functionality is to avoid crashes and provide some form of recovery/retry mechanism Any ideas / suggestions are always welcome!
a
I know react has error boundaries for error handling, at least it keeps things scoped