fontend-error-reporting

0.0.2 • Public • Published

fontend-error-reporting

Reporting errors to your callback,you can gonna pass in an ajax ,Upload the error to your server.

var error = require("fontend-error-reporting")
error.init((err)=>console.log(err))
 

only input a callback, when your application to run an error, this callback will run.

Configuration options

  • callback your want to do when has err.

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i fontend-error-reporting

    Weekly Downloads

    3

    Version

    0.0.2

    License

    ISC

    Unpacked Size

    4.26 kB

    Total Files

    6

    Last publish

    Collaborators

    • az-xzq