<?php

declare(strict_types=1);

namespace App\Framework\Notification\Channels\Telegram;

/**
 * Telegram API Exception
 *
 * Thrown when Telegram API returns an error
 */
final class TelegramApiException extends \RuntimeException
{
    public function __construct(
        string $message,
        int $code = 0,
        ?\Throwable $previous = null
    ) {
        parent::__construct($message, $code, $previous);
    }
}
