customize-unhandled-error

1.0.0 • Public • Published

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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i customize-unhandled-error

    Weekly Downloads

    6

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.14 kB

    Total Files

    4

    Last publish

    Collaborators

    • csalam07