RecoverableError

class RecoverableError(isAborted: () -> Boolean, val error: SDKPrinterError, recoverFn: () -> Unit) : SDKPrintState

This state indicates that an error described by SDKPrinterError has occurred and its recoverable

Constructors

Link copied to clipboard
constructor(isAborted: () -> Boolean, error: SDKPrinterError, recoverFn: () -> Unit)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun recover()

Recovering from a RecoverableError will return the SDKPrinter to the last "Stable" state to continue