Class HapStatusError

Throws a HAP status error that is sent back to HomeKit.

throw new HapStatusError(HAPStatus.OPERATION_TIMED_OUT);

Hierarchy

  • Error
    • HapStatusError

Constructors

Properties

Constructors

Properties

hapStatus: HAPStatus