@worldsibu/convector-core-errors
Advanced tools
Comparing version 1.2.1-0-alpha.0a7ddf29 to 1.2.1-0-alpha.1624740f
@@ -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.0a7ddf29", | ||
"version": "1.2.1-0-alpha.1624740f", | ||
"description": "Convector Errors", | ||
"license": "Apache-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/hyperledger-labs/convector/tree/develop/%40worldsibu/convector-core-errors" | ||
}, | ||
"homepage": "https://worldsibu.tech/convector/convector-smart-contracts/", | ||
"main": "./dist/src/index.js", | ||
@@ -7,0 +12,0 @@ "typings": "./dist/src/index.d.ts", |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
44151
507
0