@ApiStatus.Internal
  public static @NotNull AnActionResult failed(@NotNull Throwable cause) {
    return new AnActionResult(cause);
  }
@ApiStatus.Internal
  public static @NotNull AnActionResult failed(@NotNull Throwable cause)