Angular Exceptions
A package wrapping the Exceptions class into angular. Using avLogMessagesApi to log errors.
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