UNPKG

@softchef/cdk-iot-device-management

Version:

IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.

45 lines (44 loc) 1.58 kB
import { __extends } from "tslib"; var ProviderError = (function (_super) { __extends(ProviderError, _super); function ProviderError(message, tryNextLink) { if (tryNextLink === void 0) { tryNextLink = true; } var _this = _super.call(this, message) || this; _this.tryNextLink = tryNextLink; return _this; } ProviderError.from = function (error, tryNextLink) { if (tryNextLink === void 0) { tryNextLink = true; } Object.defineProperty(error, "tryNextLink", { value: tryNextLink, configurable: false, enumerable: false, writable: false, }); return error; }; return ProviderError; }(Error)); export { ProviderError }; var CredentialsProviderError = (function (_super) { __extends(CredentialsProviderError, _super); function CredentialsProviderError(message, tryNextLink) { if (tryNextLink === void 0) { tryNextLink = true; } var _this = _super.call(this, message) || this; _this.tryNextLink = tryNextLink; _this.name = "CredentialsProviderError"; return _this; } CredentialsProviderError.from = function (error, tryNextLink) { if (tryNextLink === void 0) { tryNextLink = true; } Object.defineProperty(error, "tryNextLink", { value: tryNextLink, configurable: false, enumerable: false, writable: false, }); return error; }; return CredentialsProviderError; }(Error)); export { CredentialsProviderError };