
Standardizes UI error state representation, allowing optional custom messages and retry actions, enhancing user interface consistency and error handling flexibility.
A widget for representing error states in the UI in a standard way.
implementation "cl.emilym.compose:errorwidget:<latest>"
// message is optional, by default the message of the exception will be used
ErrorWidget(
IllegalArgumentException(),
message = "This is a message",
retry = {}
)A widget for representing error states in the UI in a standard way.
implementation "cl.emilym.compose:errorwidget:<latest>"
// message is optional, by default the message of the exception will be used
ErrorWidget(
IllegalArgumentException(),
message = "This is a message",
retry = {}
)