docs: function notifyHandlers(stack, isWindowError, error) {
          var exception = null;
          if (isWindowError && !TraceKit.collectWindowErrors) {
            return;
          }
          for (var i in handlers) {
              if (_has(handlers, i)) {
                  try {
                      handlers[i](stack, isWindowError, error);
                  } catch (inner) {
                      exception = inner;
                  }
              }
          }
  
          if (exception) {
              throw exception;
          }
      }