azure-iot-common
Advanced tools
Comparing version 1.1.12 to 1.2.0
@@ -215,1 +215,36 @@ /// <reference types="node" /> | ||
} | ||
/** | ||
* Error thrown when the c2d feature stopped working at the transport level, requiring the client to retry starting it. | ||
* | ||
* @augments {Error} | ||
*/ | ||
export declare class CloudToDeviceDetachedError extends Error { | ||
innerError: Error; | ||
constructor(message?: string); | ||
} | ||
/** | ||
* Error thrown when the device methods feature stopped working at the transport level, requiring the client to retry starting it. | ||
* | ||
* @augments {Error} | ||
*/ | ||
export declare class DeviceMethodsDetachedError extends Error { | ||
innerError: Error; | ||
constructor(message?: string); | ||
} | ||
/** | ||
* Error thrown when the twin feature stopped working at the transport level, requiring the client to retry starting it. | ||
* | ||
* @augments {Error} | ||
*/ | ||
export declare class TwinDetachedError extends Error { | ||
innerError: Error; | ||
constructor(message?: string); | ||
} | ||
/** | ||
* Error thrown when ant operation (local or remote) is cancelled | ||
* | ||
* @augments {Error} | ||
*/ | ||
export declare class OperationCancelledError extends Error { | ||
constructor(message?: string); | ||
} |
@@ -428,2 +428,66 @@ /*! Copyright (c) Microsoft. All rights reserved. | ||
exports.DeviceTimeoutError = DeviceTimeoutError; | ||
/** | ||
* Error thrown when the c2d feature stopped working at the transport level, requiring the client to retry starting it. | ||
* | ||
* @augments {Error} | ||
*/ | ||
var CloudToDeviceDetachedError = (function (_super) { | ||
__extends(CloudToDeviceDetachedError, _super); | ||
function CloudToDeviceDetachedError(message) { | ||
_super.call(this, message); | ||
this.name = 'CloudToDeviceDetachedError'; | ||
this.message = message; | ||
Error.captureStackTrace(this, this.constructor); | ||
} | ||
return CloudToDeviceDetachedError; | ||
}(Error)); | ||
exports.CloudToDeviceDetachedError = CloudToDeviceDetachedError; | ||
/** | ||
* Error thrown when the device methods feature stopped working at the transport level, requiring the client to retry starting it. | ||
* | ||
* @augments {Error} | ||
*/ | ||
var DeviceMethodsDetachedError = (function (_super) { | ||
__extends(DeviceMethodsDetachedError, _super); | ||
function DeviceMethodsDetachedError(message) { | ||
_super.call(this, message); | ||
this.name = 'DeviceMethodsDetachedError'; | ||
this.message = message; | ||
Error.captureStackTrace(this, this.constructor); | ||
} | ||
return DeviceMethodsDetachedError; | ||
}(Error)); | ||
exports.DeviceMethodsDetachedError = DeviceMethodsDetachedError; | ||
/** | ||
* Error thrown when the twin feature stopped working at the transport level, requiring the client to retry starting it. | ||
* | ||
* @augments {Error} | ||
*/ | ||
var TwinDetachedError = (function (_super) { | ||
__extends(TwinDetachedError, _super); | ||
function TwinDetachedError(message) { | ||
_super.call(this, message); | ||
this.name = 'TwinDetachedError'; | ||
this.message = message; | ||
Error.captureStackTrace(this, this.constructor); | ||
} | ||
return TwinDetachedError; | ||
}(Error)); | ||
exports.TwinDetachedError = TwinDetachedError; | ||
/** | ||
* Error thrown when ant operation (local or remote) is cancelled | ||
* | ||
* @augments {Error} | ||
*/ | ||
var OperationCancelledError = (function (_super) { | ||
__extends(OperationCancelledError, _super); | ||
function OperationCancelledError(message) { | ||
_super.call(this, message); | ||
this.name = 'OperationCancelledError'; | ||
this.message = message; | ||
Error.captureStackTrace(this, this.constructor); | ||
} | ||
return OperationCancelledError; | ||
}(Error)); | ||
exports.OperationCancelledError = OperationCancelledError; | ||
//# sourceMappingURL=errors.js.map |
{ | ||
"name": "azure-iot-common", | ||
"version": "1.1.12", | ||
"version": "1.2.0", | ||
"description": "Common components shared by Azure IoT device and service SDKs", | ||
@@ -5,0 +5,0 @@ "author": "Microsoft Corporation", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89501
2171