<?php

namespace App\Exceptions;

use RuntimeException;

class RoboflowWorkflowException extends RuntimeException
{
    public static function missingApiKey(): self
    {
        return new self('Roboflow API key is not configured.');
    }

    public static function requestFailed(string $message): self
    {
        return new self("Roboflow workflow request failed: {$message}");
    }

    public static function invalidResponse(): self
    {
        return new self('Roboflow workflow returned an invalid response.');
    }
}
