<?php

namespace Velis\RateLimiter;

use Exception;
use Throwable;

/**
 * @author Szymon Janaczek <szymon.janaczek@velistech.com>
 */
final class TooManyAttemptsException extends Exception
{
    public function __construct(?string $message = null, int $code = 0, ?Throwable $previous = null)
    {
        $message ??= 'Too many attempts.';
        parent::__construct($message, $code, $previous);
    }
}
