docs: private String getStackTrace(AbstractRestException data) {
          StringBuilderWriter writer = new StringBuilderWriter();
          try {
              data.printStackTrace(new PrintWriter(writer));
              return writer.getBuilder().toString();
          } finally {
              writer.close();
          }
      }