ErrorMessage
@Composable
Composable that displays an error message based on the error type.
Parameters
error
Current error to show (null hides the message).
modifier
Optional modifier for styling the composable.
setError
Callback to clear or update the error.