code: public void handleUncaughtErrors(Thread thread) {
      ObjectsUtils.requireNonNull(thread, "thread");
      LOGGER.debug("Handling uncaught errors for thread: {}.", thread);
      UncaughtExceptionHandler uncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
      thread.setUncaughtExceptionHandler(new RollbarUncaughtExceptionHandler(this,
          uncaughtExceptionHandler));
    }
docs: Handle all uncaught errors on {@code thread} with this `Rollbar`.
  
  @param thread the thread to handle errors on.