<?php

namespace App\Exceptions;

use RuntimeException;

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

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