FirmwareError
Defined in: console-sdk/src/errors/classes.ts:220
A firmware-update failure (firmware/*): manifest unavailable, download or
verification failed, transfer failed, or the device rejected the image.
(User cancellation is NOT an error — it surfaces as the update machine’s
'cancelled' status.)
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FirmwareError(
code,message,options?):FirmwareError
Defined in: console-sdk/src/errors/classes.ts:225
Creates a firmware/* error.
Parameters
Section titled “Parameters”"firmware/manifest-unavailable" | "firmware/download-failed" | "firmware/verify-failed" | "firmware/transfer-failed" | "firmware/device-rejected"
message
Section titled “message”string
options?
Section titled “options?”Returns
Section titled “Returns”FirmwareError
Overrides
Section titled “Overrides”ConsoleSdkError.constructor
Properties
Section titled “Properties”cause?
Section titled “cause?”
readonlyoptionalcause?:unknown
Defined in: console-sdk/src/errors/classes.ts:41
The underlying lower-level error, when one exists. Typed unknown —
never a ble-plx (or any other dependency) type publicly.
Inherited from
Section titled “Inherited from”
readonlycode:"firmware/manifest-unavailable"|"firmware/download-failed"|"firmware/verify-failed"|"firmware/transfer-failed"|"firmware/device-rejected"
Defined in: console-sdk/src/errors/classes.ts:222
The firmware/* code identifying the update failure.
Overrides
Section titled “Overrides”deviceId?
Section titled “deviceId?”
readonlyoptionaldeviceId?:DeviceId
Defined in: console-sdk/src/errors/classes.ts:35
Present whenever the failure is attributable to a specific device.
Inherited from
Section titled “Inherited from”message
Section titled “message”message:
string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Section titled “Inherited from”name:
string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”stack?
Section titled “stack?”
optionalstack?:string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078