@availity/exceptions-angular

3.0.17 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @availity/exceptions-angular

Weekly Downloads

15

Version

3.0.17

License

MIT

Unpacked Size

15.8 kB

Total Files

6

Last publish

Collaborators

  • lauroxx
  • dznjudo
  • availity-cicd-bot
  • azeigler
  • dnoler
  • jselden
  • cbaker1
  • twarner
  • gregmartdotin
  • hnicbaker
  • chrishavekost
  • jordan-a-young