Skip to content

ErrorContext

Defined in: console-sdk/src/runtime/reporter.ts:34

Second argument to config.onError — where in the SDK the failure originated (SDK_PLAN.md §3.12.4).

optional deviceId?: DeviceId

Defined in: console-sdk/src/runtime/reporter.ts:39

Present whenever the failure is attributable to a device.


domain: "scan" | "connect" | "command" | "session" | "capture" | "firmware" | "sdk"

Defined in: console-sdk/src/runtime/reporter.ts:36

The SDK domain that produced the failure.


optional sessionId?: SessionId

Defined in: console-sdk/src/runtime/reporter.ts:41

Present whenever the failure occurred inside a workout session.