<?php

namespace App\Exceptions;

use RuntimeException;

/** Higgsfield accepted the render and has not finished it. Poll the same status URL again. */
class HiggsfieldRenderPendingException extends RuntimeException
{
    public function __construct(
        public readonly string $requestId,
        public readonly string $statusUrl,
    ) {
        parent::__construct('Higgsfield video is still pending. Polling will continue.');
    }
}
