SnippetErrorContent

typealias SnippetErrorContent = @Composable (message: String, callback: ErrorRefreshCallback?, refreshable: Boolean) -> Unit

A composable function signature for displaying error content in the WebView.

Parameters

message

The error message to display.

callback

An optional ErrorRefreshCallback to trigger a retry action.

refreshable

A flag indicating whether the error view should include a refresh button.