UNPKG

@kamkam1_0/errorhandler

Version:

ErrorHandler is simple to use module that allows you to handle several errors to prevent your program from crashing

24 lines 604 B
/** * @returns {string} */ exports.version = require("../package.json").version /** * @returns {function} */ exports.rejectionHandled = require("./errormanagers/rejectionHandled") /** * @returns {function} */ exports.uncaughtException = require("./errormanagers/uncaughtException") /** * @returns {function} */ exports.uncaughtExceptionMonitor = require("./errormanagers/uncaughtExceptionMonitor") /** * @returns {function} */ exports.unhandledRejection = require("./errormanagers/unhandledRejection") /** * @returns {boolean} */ exports.deploy = require("./deploy.js")