UNPKG

@s1rd4v3/homebridge-tuya-web

Version:

Homebridge plugin for use with Tuya devices (uses Home Assistant Tuya Web API)

34 lines (28 loc) 663 B
"use strict"; (function (global, factory) { if (typeof define === "function" && define.amd) { define(["exports"], factory); } else if (typeof exports !== "undefined") { factory(exports); } else { var mod = { exports: {} }; factory(mod.exports); global.undefined = mod.exports; } })(void 0, function (exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class RatelimitError extends Error { constructor(message, reason) { if (reason) { message += " - ".concat(reason); } super(message); } } exports.RatelimitError = RatelimitError; });