@worldsibu/convector-core-errors
Advanced tools
Comparing version 1.2.1-0-alpha.a5942344 to 1.2.1-0-alpha.c846cbaf
@@ -16,1 +16,9 @@ import { BaseError } from './base.error'; | ||
} | ||
export declare class ChaincodeInvalidTransientError extends BaseError { | ||
original: Error; | ||
value: any; | ||
code: string; | ||
description: string; | ||
explanation: string; | ||
constructor(original: Error, value: any); | ||
} |
@@ -34,2 +34,17 @@ "use strict"; | ||
exports.ChaincodeInvokationError = ChaincodeInvokationError; | ||
var ChaincodeInvalidTransientError = (function (_super) { | ||
tslib_1.__extends(ChaincodeInvalidTransientError, _super); | ||
function ChaincodeInvalidTransientError(original, value) { | ||
var _this = _super.call(this) || this; | ||
_this.original = original; | ||
_this.value = value; | ||
_this.code = 'CC_INV_TRANS_ERR'; | ||
_this.description = 'Invalid transient value for function'; | ||
_this.explanation = "\n There was an error while trying to parse the transient data using value " + _this.value + "\n " + common_1.chaincodeSideMessage; | ||
_this.message = _super.prototype.getMessage.call(_this, _super.prototype.getOriginal.call(_this)); | ||
return _this; | ||
} | ||
return ChaincodeInvalidTransientError; | ||
}(base_error_1.BaseError)); | ||
exports.ChaincodeInvalidTransientError = ChaincodeInvalidTransientError; | ||
//# sourceMappingURL=chaincode.errors.js.map |
{ | ||
"name": "@worldsibu/convector-core-errors", | ||
"version": "1.2.1-0-alpha.a5942344", | ||
"version": "1.2.1-0-alpha.c846cbaf", | ||
"description": "Convector Errors", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
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
44151
507