UNPKG

homebridge-plugin-wrapper

Version:

Wrapper for Homebridge and NodeJS-HAP with reduced dependencies that allows to intercept plugin values and also send to them

14 lines 360 B
import { HAPStatus } from "../HAPServer"; /** * Throws a HAP status error that is sent back to HomeKit. * * @example * ```ts * throw new HapStatusError(HAPStatus.OPERATION_TIMED_OUT); * ``` */ export declare class HapStatusError extends Error { hapStatus: HAPStatus; constructor(status: HAPStatus); } //# sourceMappingURL=hapStatusError.d.ts.map