Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

exception_manager

pironp34ISC1.1.4

Exception Manager ========

error, exception

readme

Exception Manager

An error manager, it send a json with details about the error, the computer and the actual page to a server

Installation

Installation with npm.

npm install --save exception_manager

Usage

let exception_manager     = require('exception_manager');

exception_manager.handleException(error, 'Application Name', 'fileName.js', 10, 'username', window, 'serverAddress');

exports.handleException = (error, appName, fileName, lineNumber, username, window, server)

API

handleException(error, appName, fileName, lineNumber, username, window, server)

Send a json to a server:

{
  error: '',
  site: '',
  fileName: '',
  lineNumber: '',
  navigator: '',
  url: '',
}