docs: static String stacktraceToString(Exception e) {
          StringWriter sw = new StringWriter();
          e.printStackTrace(new PrintWriter(sw));
          String stackTrace = sw.toString();
          return stackTrace;
      }