Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

error-handler-e2

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

error-handler-e2 - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

index.js
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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc