Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xyo-network/errors

Package Overview
Dependencies
Maintainers
6
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xyo-network/errors - npm Package Compare versions

Comparing version 0.26.0 to 0.29.0

2

dist/xyo-error.d.ts

@@ -27,5 +27,5 @@ import { XyoBase } from '@xyo-network/base';

*/
constructor(message: string, code: XyoErrors, fromOtherError?: Error);
constructor(message: string, code?: XyoErrors, fromOtherError?: Error);
toString(): string;
}
//# sourceMappingURL=xyo-error.d.ts.map

@@ -8,3 +8,3 @@ "use strict";

* @Last modified by: ryanxyo
* @Last modified time: Tuesday, 11th December 2018 9:16:21 am
* @Last modified time: Wednesday, 6th March 2019 4:41:30 pm
* @License: All Rights Reserved

@@ -36,3 +36,3 @@ * @Copyright: Copyright XY | The Findables Company

*/
constructor(message, code, fromOtherError) {
constructor(message, code = XyoErrors.CRITICAL, fromOtherError) {
super();

@@ -39,0 +39,0 @@ this.message = message;

{
"name": "@xyo-network/errors",
"version": "0.26.0",
"version": "0.29.0",
"description": "Provides a basic error class to be used by XYO services",

@@ -10,3 +10,3 @@ "main": "dist/index.js",

"dependencies": {
"@xyo-network/base": "^0.26.0"
"@xyo-network/base": "^0.29.0"
},

@@ -22,3 +22,3 @@ "devDependencies": {

},
"gitHead": "b86b8078d87e72f0a132bc5e1d6c87aa29e00b7b"
"gitHead": "6d3ef6cac153314b05cda28efed3bac7efeaa55d"
}

@@ -7,3 +7,3 @@ /*

* @Last modified by: ryanxyo
* @Last modified time: Tuesday, 11th December 2018 9:16:21 am
* @Last modified time: Wednesday, 6th March 2019 4:41:30 pm
* @License: All Rights Reserved

@@ -45,3 +45,3 @@ * @Copyright: Copyright XY | The Findables Company

public readonly message: string,
public readonly code: XyoErrors,
public readonly code: XyoErrors = XyoErrors.CRITICAL,
fromOtherError?: Error

@@ -48,0 +48,0 @@ ) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc