<?php

declare(strict_types=1);

namespace SeoScope\Services;

/**
 * Controlled failure from an upstream AI HTTP/cURL call (never stack traces to the client).
 */
final class SeoAiProviderException extends \RuntimeException
{
    public function __construct(
        public readonly string $publicErrorCode,
        string $internalDetail = '',
        public readonly int $httpStatus = 0,
    ) {
        parent::__construct($internalDetail);
    }
}
