@worldsibu/convector-core-errors
Advanced tools
Comparing version 1.0.3-0-alpha.c332d3f7 to 1.0.3
@@ -5,4 +5,7 @@ "use strict"; | ||
var chalk_1 = require("chalk"); | ||
// Explicitly enable chalk by setting the env_var CHALK=true | ||
// Explicitly disable chalk by setting the env_var NOCHALK=true | ||
// The default is CHALK=true | ||
chalk_1.default.enabled = !!process.env.CHALK || !process.env.NOCHALK; | ||
var BaseError = (function (_super) { | ||
var BaseError = /** @class */ (function (_super) { | ||
tslib_1.__extends(BaseError, _super); | ||
@@ -9,0 +12,0 @@ function BaseError() { |
@@ -6,3 +6,3 @@ "use strict"; | ||
var common_1 = require("./common"); | ||
var ChaincodeInitializationError = (function (_super) { | ||
var ChaincodeInitializationError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ChaincodeInitializationError, _super); | ||
@@ -21,3 +21,3 @@ function ChaincodeInitializationError(original) { | ||
exports.ChaincodeInitializationError = ChaincodeInitializationError; | ||
var ChaincodeInvokationError = (function (_super) { | ||
var ChaincodeInvokationError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ChaincodeInvokationError, _super); | ||
@@ -24,0 +24,0 @@ function ChaincodeInvokationError(original) { |
@@ -6,3 +6,3 @@ "use strict"; | ||
var common_1 = require("./common"); | ||
var ConfigurationInvalidError = (function (_super) { | ||
var ConfigurationInvalidError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ConfigurationInvalidError, _super); | ||
@@ -21,3 +21,3 @@ function ConfigurationInvalidError(original) { | ||
exports.ConfigurationInvalidError = ConfigurationInvalidError; | ||
var ConfigurationParseError = (function (_super) { | ||
var ConfigurationParseError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ConfigurationParseError, _super); | ||
@@ -37,3 +37,3 @@ function ConfigurationParseError(original, json) { | ||
exports.ConfigurationParseError = ConfigurationParseError; | ||
var ConfigurationFileOpenError = (function (_super) { | ||
var ConfigurationFileOpenError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ConfigurationFileOpenError, _super); | ||
@@ -40,0 +40,0 @@ function ConfigurationFileOpenError(original, file) { |
@@ -6,3 +6,3 @@ "use strict"; | ||
var chaincodeSideMessage = 'This is a chaincode error, meaning this happened in the peer container'; | ||
var ControllerImportError = (function (_super) { | ||
var ControllerImportError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ControllerImportError, _super); | ||
@@ -22,3 +22,3 @@ function ControllerImportError(original, pkg) { | ||
exports.ControllerImportError = ControllerImportError; | ||
var ControllerMissingError = (function (_super) { | ||
var ControllerMissingError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ControllerMissingError, _super); | ||
@@ -38,3 +38,3 @@ function ControllerMissingError(pkg, ctrl) { | ||
exports.ControllerMissingError = ControllerMissingError; | ||
var ControllerNamespaceMissingError = (function (_super) { | ||
var ControllerNamespaceMissingError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ControllerNamespaceMissingError, _super); | ||
@@ -54,3 +54,3 @@ function ControllerNamespaceMissingError(original, ctrl) { | ||
exports.ControllerNamespaceMissingError = ControllerNamespaceMissingError; | ||
var ControllerInstantiationError = (function (_super) { | ||
var ControllerInstantiationError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ControllerInstantiationError, _super); | ||
@@ -70,3 +70,3 @@ function ControllerInstantiationError(original, ctrl) { | ||
exports.ControllerInstantiationError = ControllerInstantiationError; | ||
var ControllerInvokablesMissingError = (function (_super) { | ||
var ControllerInvokablesMissingError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ControllerInvokablesMissingError, _super); | ||
@@ -86,3 +86,3 @@ function ControllerInvokablesMissingError(original, ctrl) { | ||
exports.ControllerInvokablesMissingError = ControllerInvokablesMissingError; | ||
var ControllerInvalidError = (function (_super) { | ||
var ControllerInvalidError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ControllerInvalidError, _super); | ||
@@ -101,3 +101,3 @@ function ControllerInvalidError(ctrl) { | ||
exports.ControllerInvalidError = ControllerInvalidError; | ||
var ControllerInvalidInvokeError = (function (_super) { | ||
var ControllerInvalidInvokeError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ControllerInvalidInvokeError, _super); | ||
@@ -120,3 +120,3 @@ function ControllerInvalidInvokeError(fn, args, schemas) { | ||
exports.ControllerInvalidInvokeError = ControllerInvalidInvokeError; | ||
var ControllerInvalidArgumentError = (function (_super) { | ||
var ControllerInvalidArgumentError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ControllerInvalidArgumentError, _super); | ||
@@ -137,3 +137,3 @@ function ControllerInvalidArgumentError(original, index, value) { | ||
exports.ControllerInvalidArgumentError = ControllerInvalidArgumentError; | ||
var ControllerArgumentParseError = (function (_super) { | ||
var ControllerArgumentParseError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ControllerArgumentParseError, _super); | ||
@@ -154,3 +154,3 @@ function ControllerArgumentParseError(original, index, value) { | ||
exports.ControllerArgumentParseError = ControllerArgumentParseError; | ||
var ControllerInvalidFunctionError = (function (_super) { | ||
var ControllerInvalidFunctionError = /** @class */ (function (_super) { | ||
tslib_1.__extends(ControllerInvalidFunctionError, _super); | ||
@@ -157,0 +157,0 @@ function ControllerInvalidFunctionError() { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var InvalidIdError = (function (_super) { | ||
var InvalidIdError = /** @class */ (function (_super) { | ||
tslib_1.__extends(InvalidIdError, _super); | ||
@@ -20,3 +20,3 @@ function InvalidIdError() { | ||
exports.InvalidIdError = InvalidIdError; | ||
var IdNotFoundError = (function (_super) { | ||
var IdNotFoundError = /** @class */ (function (_super) { | ||
tslib_1.__extends(IdNotFoundError, _super); | ||
@@ -23,0 +23,0 @@ function IdNotFoundError() { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var InvalidTypeError = (function (_super) { | ||
var InvalidTypeError = /** @class */ (function (_super) { | ||
tslib_1.__extends(InvalidTypeError, _super); | ||
@@ -6,0 +6,0 @@ function InvalidTypeError() { |
{ | ||
"name": "@worldsibu/convector-core-errors", | ||
"version": "1.0.3-0-alpha.c332d3f7", | ||
"version": "1.0.3", | ||
"description": "Convector Errors", | ||
@@ -11,2 +11,5 @@ "license": "ISC", | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
@@ -20,3 +23,3 @@ "clean": "rimraf dist", | ||
"predocs:generate": "npm run clean:docs", | ||
"docs:generate": "typedoc src --mode file --out docs --target ES6 --excludePrivate", | ||
"docs:generate": "typedoc src --out docs --target ES6 --excludePrivate", | ||
"docs:serve": "http-server docs" | ||
@@ -34,3 +37,2 @@ }, | ||
"devDependencies": { | ||
"http-server": "^0.11.1", | ||
"npm-scripts-watcher": "^1.0.2", | ||
@@ -40,5 +42,4 @@ "rimraf": "^2.6.2", | ||
"tslint": "^5.9.1", | ||
"typedoc": "^0.11.1", | ||
"typescript": "2.8.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
31652
5
489
1