<?php

declare(strict_types=1);

namespace CpCreation\AltchaBundle\Exception;

final class AltchaUnavailableException extends \RuntimeException
{
    public function __construct(
        string $message = 'The ALTCHA service is unavailable.',
        public readonly ?int $retryAfter = null,
        ?\Throwable $previous = null,
    ) {
        parent::__construct($message, 0, $previous);
    }
}
