1.0.0 • Published 5 years ago
mongo-errors-handler v1.0.0
Mongo Errors Handler
A Mongo DataBase Error Handler Package
Installation
Install via NPM:
npm install mongo-errors-handler
Usage
javascript
const mongoErrors = require("mongo-errors");
let errors = mongoErrors(err); // return mongo errors array
console.log(errors);
License
This project is licensed under the terms of the MIT license.
1.0.0
5 years ago