weer
Version:
Web Extensions Error Reporter catches global errors, shows notifications and opens error reporter in one click
21 lines (15 loc) • 441 B
JavaScript
import Utils from './utils';
import ErrorCatchers from './error-catchers';
import GetNotifiersSingleton from './get-notifiers-singleton';
const install = (configs) => {
const { handleErrorMessage } = GetNotifiersSingleton(configs);
const uninstall = ErrorCatchers.installListenersOn({ handleErrorMessage });
return uninstall;
};
var index = {
Utils,
ErrorCatchers,
GetNotifiersSingleton,
install,
};
export default index;