error-handler-e2
Advanced tools
Comparing version 1.1.0 to 1.1.1
const error = (message, status) => { | ||
let error_type; | ||
if (status >= 40 && status < 500) { | ||
if (status >= 400 && status < 500) { | ||
error_type = "Client Error."; | ||
@@ -5,0 +5,0 @@ } else if(status >= 500 && status < 600){ |
{ | ||
"name": "error-handler-e2", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "This is handle error package", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
629