UNPKG

rxpoweredup

Version:

A Typescript RxJS-based library for controlling LEGO Powered UP hubs & peripherals.

11 lines (10 loc) 638 B
import { ConnectionError } from './connection-error'; import { HubProperty } from '../constants'; import { IHubPropertiesFeatureErrorsFactory } from '../features'; import { IHubConnectionErrorsFactory } from '../hub'; import { IHubScannerErrorFactory } from '../hub-scanner'; export declare class ErrorFactory implements IHubPropertiesFeatureErrorsFactory, IHubConnectionErrorsFactory, IHubScannerErrorFactory { createInvalidPropertyValueError(property: HubProperty, value: number[] | number | string | string[]): ConnectionError; createGattUnavailableError(): ConnectionError; createGattConnectionError(): ConnectionError; }