SnippetErrorContent
typealias SnippetErrorContent = @Composable (error: TWSViewError, callback: ErrorRefreshCallback?) -> Unit
A composable function signature for displaying error content in the WebView.
Parameters
error
The error that was thrown by its request.
callback
An optional ErrorRefreshCallback to trigger a retry action.
refreshable
A flag indicating whether the error view should include a refresh button.