UNPKG

matterbridge-roborock-vacuum-plugin

Version:
31 lines 1.24 kB
import { BaseError } from './BaseError.js'; /** Base error for device operations. */ export declare class DeviceError extends BaseError { readonly duid?: string | undefined; constructor(message: string, duid?: string | undefined, metadata?: Record<string, unknown>); } /** Device not found in user's account. */ export declare class DeviceNotFoundError extends DeviceError { constructor(duid: string); } /** Device connection failed. */ export declare class DeviceConnectionError extends DeviceError { constructor(duid: string, reason: string, details?: Record<string, unknown>); } /** Device is offline or unreachable. */ export declare class DeviceOfflineError extends DeviceError { constructor(duid: string); } /** Device command failed. */ export declare class DeviceCommandError extends DeviceError { constructor(duid: string, command: string, reason?: string); } /** Device model not supported. */ export declare class UnsupportedDeviceError extends DeviceError { constructor(model: string, duid?: string); } /** Device initialization failed. */ export declare class DeviceInitializationError extends DeviceError { constructor(duid: string, reason: string); } //# sourceMappingURL=DeviceError.d.ts.map