ErrorState
fun ErrorState(message: String, modifier: Modifier = Modifier, onRetry: () -> Unit? = null, retryLabel: String = "Retry")
The failed sibling of LoadingState. Retry is optional — a permanently failed screen (404, revoked access) should not offer a button that will fail again.
Colours come from MaterialTheme.colorScheme.error, never a literal: this module ships no palette, so a consumer's own theme decides what "error" looks like.