MCPcopy Index your code
hub / github.com/callstack/agent-device / unsupportedProviderOperation

Function unsupportedProviderOperation

src/provider-device-runtime.ts:258–268  ·  view source on GitHub ↗
(
  runtime: ProviderDeviceRuntime,
  device: DeviceInfo,
  operation: string,
)

Source from the content-addressed store, hash-verified

256}
257
258function unsupportedProviderOperation(
259 runtime: ProviderDeviceRuntime,
260 device: DeviceInfo,
261 operation: string,
262): never {
263 throw new AppError(
264 'UNSUPPORTED_OPERATION',
265 `Provider device runtime ${runtime.provider} does not support ${operation} for this device.`,
266 { provider: runtime.provider, deviceId: device.id, platform: publicPlatformString(device) },
267 );
268}

Callers 2

installProviderDeviceAppFunction · 0.85

Calls 1

publicPlatformStringFunction · 0.90

Tested by

no test coverage detected