@dotcom-tool-kit/error
Advanced tools
Comparing version 4.0.1 to 4.1.0
@@ -5,9 +5,9 @@ "use strict"; | ||
class ToolKitError extends Error { | ||
constructor() { | ||
super(...arguments); | ||
this.name = 'ToolKitError'; | ||
} | ||
name = 'ToolKitError'; | ||
details; | ||
exitCode; | ||
} | ||
exports.ToolKitError = ToolKitError; | ||
class ToolKitConflictError extends ToolKitError { | ||
conflicts; | ||
constructor(message, conflicts) { | ||
@@ -14,0 +14,0 @@ super(message); |
{ | ||
"name": "@dotcom-tool-kit/error", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "", | ||
@@ -29,5 +29,4 @@ "main": "lib", | ||
"engines": { | ||
"node": "18.x || 20.x", | ||
"npm": "7.x || 8.x || 9.x || 10.x" | ||
"node": "18.x || 20.x || 22.x" | ||
} | ||
} |
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
2622