docs: function installGlobalHandler() {
          if (_onErrorHandlerInstalled === true) {
              return;
          }
  
          _oldOnerrorHandler = window.onerror;
          window.onerror = traceKitWindowOnError;
          _onErrorHandlerInstalled = true;
      }