public static @NotNull String formatThrowable(@NotNull Throwable thrown) {
    StringBuilder sb = new StringBuilder();
    appendThrowable(thrown, sb);
    return sb.toString();
  }
public static @NotNull String formatThrowable(@NotNull Throwable thrown)