@xyo-network/errors
Advanced tools
Comparing version 0.26.0 to 0.29.0
@@ -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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8076
0
+ Added@xyo-network/base@0.29.0(transitive)
- Removed@xyo-network/base@0.26.0(transitive)
Updated@xyo-network/base@^0.29.0