1.1.4 • Published 5 years ago

exception_manager v1.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

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: '',
}
1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago