Comparing version 2.0.1 to 2.0.2
@@ -34,3 +34,3 @@ /* errorex | ||
} else | ||
super(format(msg, ...args)); | ||
super(msg && format(msg, ...args)); | ||
this.name = this.constructor === ErrorEx ? 'Error' : this.constructor.name; | ||
@@ -37,0 +37,0 @@ } |
{ | ||
"name": "errorex", | ||
"description": "'Extensible Error Class' implementation and predefined additional error types for javascript", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
10333