WifiProvisionError

sealed interface WifiProvisionError(source)

Typed error categories for the WiFi provisioning flow.

Formatted into user-visible strings in the UI layer using string resources, keeping the ViewModel free of locale-specific text.

Inheritors

Types

Link copied to clipboard
data class ConnectFailed(val detail: String) : WifiProvisionError

BLE connection to the provisioning device failed.

Link copied to clipboard
data class ProvisionFailed(val detail: String) : WifiProvisionError

Sending WiFi credentials to the device failed.

Link copied to clipboard
data class ScanFailed(val detail: String) : WifiProvisionError

WiFi network scan on the device failed.

Properties

Link copied to clipboard
abstract val detail: String

Detail message from the underlying exception (language-agnostic, typically from the BLE stack).