code: private static String __getStackTrace(Throwable throwable) {
          StringWriter stringWriter = new StringWriter();
          throwable.printStackTrace(new PrintWriter(stringWriter));
  
          return stringWriter.toString();
      }
docs: given throwable.