Class HapStatusError

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

Example

throw new HapStatusError(HAPStatus.OPERATION_TIMED_OUT);

Hierarchy

  • Error
    • HapStatusError

Constructors

Properties

Constructors

Properties

hapStatus: HAPStatus