ErrorUI
Method used to display a layout when an error occurred
Parameters
The modifier to apply to the container column
The modifier to apply to the image icon
The set of the animations to use to animate the layout
The style to apply to the text
The color of the background
The error icon used, as default is used the Icons.Default.Error
The error color used, as default is used the MaterialTheme.colorScheme.errorContainer
The error that occurred or to indicate a generic error
The retry action to execute
The retry message
Method used to display the layout when an error occurred
Parameters
The modifier to apply to the container column
The modifier to apply to the image icon
The set of the animations to use to animate the layout
The style to apply to the text
The color of the background
The error icon used, as default is used the Icons.Default.Error
The error color used, as default is used the MaterialTheme.colorScheme.errorContainer
The error that occurred or to indicate a generic error
The retry action to execute
The retry message