Error Handler E2
This package will help you to handle errors, and logging errors with nice style for debugging
Getting Start
You need download package in your project and import any function you need
Installing && Using
npm install npm i error-handler-e2
//or
yarn add npm i error-handler-e2
const ErrorHandlerrE2 = require("error-handler-e2");
//or
import ErrorHandlerrE2 from "error-handler-e2";
Examples
- Using Functions
- create custom error
const { functions } = require("error-handler-e2");
const myError =vfunction.customError({message: "Testing Error Message",
statusCode: 404, {...options}});
Authors
Milad