Catch
inline fun Catch(vararg states: DataModel<*>, filter: (DataModel<*>) -> Boolean = { true }, content: @Composable CatchScope.(err: Throwable) -> Unit = { Throw(error = it) })
Deprecated
This implementation is deprecated. Please use the new implementation from soil-reacty module instead.
Replace with
import soil.plant.compose.reacty.Catch
Content copied to clipboard
Catch(states, filter, content)
Content copied to clipboard
Catch for any DataModels to be rejected.