Socket
Book a DemoInstallSign in
Socket

errored

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

errored

**ERRORED** Errored is a simple error manager. **Why use Errored?**

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

ERRORED
Errored is a simple error manager.
Why use Errored?

  • 🚀 Lightweight (Has 0 Dependencies)
  • 📚 Easy to use
  • ⬅️ Fast
  • ✅ Efficient
  • 📰 Logs
  • 📊 Index values

How do you use such a thing? It's easy.

const Handler = require('errored');
Handler("error-name", (errArg1, errArg2) => `${errArg1} was called with the value ${errArg2}`)
Handler.error("error-name",`errored1`, `test`) // -> errored1 was called with the value test

I hope this can help you.

Maintained and created by Salvage_Dev

Keywords

error

FAQs

Package last updated on 25 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts