@darkwolf/code-error
Advanced tools
Comparing version 6.6.6 to 13.21.69
{ | ||
"name": "@darkwolf/code-error", | ||
"version": "6.6.6", | ||
"version": "13.21.69", | ||
"description": "Code Error", | ||
"main": "src/index.js", | ||
"main": "index.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
@@ -13,3 +13,2 @@ # Code Error | ||
super(...args) | ||
this.namespace = 'darkwolf' | ||
this.name = 'DarkwolfError' | ||
@@ -24,10 +23,4 @@ } | ||
} catch (e) { | ||
switch (e.namespace) { | ||
case 'darkwolf': { | ||
switch (e.code) { | ||
case 'invalid-darkwolf-id': { | ||
break | ||
} | ||
default: throw e | ||
} | ||
switch (e.code) { | ||
case 'invalid-darkwolf-id': { | ||
break | ||
@@ -34,0 +27,0 @@ } |
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
2627
32