( runtime: ProviderDeviceRuntime, device: DeviceInfo, operation: string, )
| 256 | } |
| 257 | |
| 258 | function 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 | } |
no test coverage detected