<?php

declare(strict_types=1);

namespace KimaAI\Ai\Providers\Exceptions;

use RuntimeException;

class AiProviderException extends RuntimeException {
  public function __construct(
    string $message,
    public int $status = 500,
    public array $payload = [],
    ?\Throwable $previous = null
  ) {
    parent::__construct($message, $status, $previous);
  }
}
