Error

data class Error(val error: AppError, val type: AppAlertType = AppAlertType.SNACKBAR) : AppAlert

An AppAlert.Error represents a message that should be displayed to the user to convey errors.

Constructors

Link copied to clipboard
constructor(error: AppError, type: AppAlertType = AppAlertType.SNACKBAR)

Properties

Link copied to clipboard
@get:TestOnly
val error: AppError
Link copied to clipboard
open override val message: String

Message of the alert

Link copied to clipboard
open override val type: AppAlertType

Type defines how the AppAlert should be shown