Skip to main content

ErrorCallback

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Interface
Package: @ovok/native

Import​

import { ErrorCallback } from '@ovok/native/bt-management';

TypeScript shape​

interface ErrorCallback {
deviceData?: DeviceData;
error: BluetoothError | Error | string;
code?: BluetoothErrorCode;
}

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
deviceDataDeviceDataOptional. —
errorBluetoothError | Error | stringMeasurement translation keys remain compatible with existing consumers.
codeBluetoothErrorCodeOptional. Stable machine-readable code for every normalized native/SDK failure.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.