ConnectErrorOptions
Defined in: console-sdk/src/errors/classes.ts:85
Construction options for ConnectError.
Extends
Section titled “Extends”Properties
Section titled “Properties”cause?
Section titled “cause?”
readonlyoptionalcause?:unknown
Defined in: console-sdk/src/errors/classes.ts:16
The underlying lower-level error (ble-plx, fetch, …). Deliberately typed
unknown: no transport-library type ever escapes the SDK surface.
Inherited from
Section titled “Inherited from”conflictingDeviceId?
Section titled “conflictingDeviceId?”
readonlyoptionalconflictingDeviceId?:DeviceId
Defined in: console-sdk/src/errors/classes.ts:90
Present iff code === 'connect/modality-conflict' — the
already-connected device occupying the modality.
deviceId?
Section titled “deviceId?”
readonlyoptionaldeviceId?:DeviceId
Defined in: console-sdk/src/errors/classes.ts:11
The device this failure is attributable to, when there is one.