customize-unhandled-error
v1.0.0
Published
Custom error handleError for the script crash on unhandled rejections.
Downloads
10
Maintainers
Keywords
Readme
customize-unhandled-error
Custom error handleError for the script crash on unhandled rejections.
Install
npm
npm install customize-unhandled-error
yarn
yarn add customize-unhandled-error
Usage
import unhandledError from 'customize-unhandled-error'
// Promise.reject(new Error('THIS_IS_UNHANDLED'));
unhandledError();
License
- MIT © cslam07