Package-level declarations
Types
Link copied to clipboard
A functional interface representing a refresh action triggered when an error view supports retrying the failed operation.
Link copied to clipboard
typealias SnippetErrorContent = @Composable (message: String, callback: ErrorRefreshCallback?, refreshable: Boolean) -> Unit
A composable function signature for displaying error content in the WebView.
Functions
Link copied to clipboard
Provides a default implementation of SnippetErrorContent using SnippetErrorView.
Link copied to clipboard
fun SnippetErrorView(errorMessage: String, modifier: Modifier = Modifier, isRefreshable: Boolean = false, refreshCallback: ErrorRefreshCallback? = null)
A composable function that displays a centered error message with optional retry functionality.