enableErrorTracking(filter, contextAdder) {
        const { name } = config;
        enableErrorTracking({ filter, contextAdder }, [name]);
      }
Enables automatic error tracking
@param {errorFilter} [filter] - A function which determines which ErrorEvents should be tracked.
@param {errorContexts} [contextAdder] - A function to build custom contexts