Socket
Socket
Sign inDemoInstall

@worldsibu/convector-core-errors

Package Overview
Dependencies
1
Maintainers
1
Versions
187
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.9-0-alpha.273fee8f to 1.3.9-0-alpha.29aef898

7

dist/src/controller.errors.d.ts

@@ -58,2 +58,9 @@ import { BaseError } from './base.error';

}
export declare class ControllerUndefinedArgumentError extends BaseError {
index: number;
code: string;
description: string;
explanation: string;
constructor(index: number);
}
export declare class ControllerInvalidArgumentError extends BaseError {

@@ -60,0 +67,0 @@ original: Error;

@@ -113,2 +113,16 @@ "use strict";

exports.ControllerInvalidInvokeError = ControllerInvalidInvokeError;
var ControllerUndefinedArgumentError = (function (_super) {
tslib_1.__extends(ControllerUndefinedArgumentError, _super);
function ControllerUndefinedArgumentError(index) {
var _this = _super.call(this) || this;
_this.index = index;
_this.code = 'CTRL_UNDEF_ARG_ERR';
_this.description = 'Undefined argument passed in controller';
_this.explanation = "\n Undefined argument #" + _this.index + ", use @Optional() if need to omit\n " + chaincodeSideMessage;
_this.message = _super.prototype.getMessage.call(_this, _super.prototype.getOriginal.call(_this));
return _this;
}
return ControllerUndefinedArgumentError;
}(base_error_1.BaseError));
exports.ControllerUndefinedArgumentError = ControllerUndefinedArgumentError;
var ControllerInvalidArgumentError = (function (_super) {

@@ -115,0 +129,0 @@ tslib_1.__extends(ControllerInvalidArgumentError, _super);

2

package.json
{
"name": "@worldsibu/convector-core-errors",
"version": "1.3.9-0-alpha.273fee8f",
"version": "1.3.9-0-alpha.29aef898",
"description": "Convector Errors",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc