@mcma/core
Advanced tools
Comparing version 0.7.4 to 0.7.5
@@ -0,1 +1,3 @@ | ||
const { Exception } = require("./mcma-core"); | ||
function getTypeName(type) { | ||
@@ -7,3 +9,3 @@ if (typeof type === "function") { | ||
} else if (typeof type !== "string") { | ||
throw new Error("Invalid type for db table."); | ||
throw new Exception("Invalid type"); | ||
} | ||
@@ -15,2 +17,2 @@ return type; | ||
getTypeName | ||
}; | ||
}; |
{ | ||
"name": "@mcma/core", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"description": "Node module with type definitions and helper utils for the EBU MCMA framework", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
23751
702