namirasoft-core
Advanced tools
Comparing version 1.3.64 to 1.3.65
@@ -15,3 +15,3 @@ "use strict"; | ||
if (!found) | ||
throw new Error("Could not find operator by name: " + name); | ||
throw new Error(`Could not find operator by name: '${name}'. Valid values are ${this.getAll().map(x => x.name).join(",")}`); | ||
return found; | ||
@@ -22,3 +22,3 @@ } | ||
if (found.length == 0) | ||
throw new Error("Could not find operator by sign: " + sign); | ||
throw new Error(`Could not find operator by sign: '${sign}'. Valid values are ${this.getAll().map(x => x.sign).join(",")}`); | ||
return found[0]; | ||
@@ -25,0 +25,0 @@ } |
@@ -11,3 +11,3 @@ { | ||
"private": false, | ||
"version": "1.3.64", | ||
"version": "1.3.65", | ||
"author": "Amir Abolhasani", | ||
@@ -14,0 +14,0 @@ "license": "MIT", |
@@ -30,3 +30,3 @@ import { FilterItemColumnType } from "./FilterItemColumnType"; | ||
if (!found) | ||
throw new Error("Could not find operator by name: " + name); | ||
throw new Error(`Could not find operator by name: '${name}'. Valid values are ${this.getAll().map(x => x.name).join(",")}`); | ||
return found; | ||
@@ -38,3 +38,3 @@ } | ||
if (found.length == 0) | ||
throw new Error("Could not find operator by sign: " + sign); | ||
throw new Error(`Could not find operator by sign: '${sign}'. Valid values are ${this.getAll().map(x => x.sign).join(",")}`); | ||
return found[0]; | ||
@@ -41,0 +41,0 @@ } |
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
360661