Error

data class Error(val error: UiText, val nothingWritten: Boolean = false) : FirmwareUpdateState(source)

An error occurred at any stage of the update pipeline.

Constructors

Link copied to clipboard
constructor(error: UiText, nothingWritten: Boolean = false)

Properties

Link copied to clipboard
val error: UiText
Link copied to clipboard

True when the device was never written to and boots its application as before, so no recovery is owed.

Functions

Link copied to clipboard

The game is offered only while an update runs unattended. Null means the update needs the user (a file to save, a bootloader to review, a cancel back to Ready), so the game closes rather than covering the screen that asks.