Socket
Book a DemoInstallSign in
Socket

@availity/exceptions-angular

Package Overview
Dependencies
Maintainers
13
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@availity/exceptions-angular

Availity class to log exceptions

latest
npmnpm
Version
3.0.17
Version published
Weekly downloads
18
20%
Maintainers
13
Weekly downloads
 
Created
Source

Angular Exceptions

A package wrapping the Exceptions class into angular. Using avLogMessagesApi to log errors.

Version

More details about configuration can be found in Exceptions-Core

Install

npm install @availity/exceptions-angular

add module to your app.

import AvAngularExceptions from '@availity/exceptions-angular';
angular.module('app', [
  AvAngularExceptions
]);

To configure the default Options

config(AvExceptionsProvider => {
  AvExceptionsProvider.enabled(false); // enabled default True
  AvExceptionsProvider.appId('exampleApp'); // if undefined, logs 'N/A'
  AvExceptionsProvider.repeatTime(5000); // sets the time in ms between logging calls for the same error message. (default 5 seconds)
});

Authors

Kasey Powers

License

MIT

FAQs

Package last updated on 03 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts