tgbotlib/src/TgBotLib/Exceptions/TelegramException.php
2023-02-14 21:05:31 -05:00

21 lines
No EOL
492 B
PHP

<?php
namespace TgBotLib\Exceptions;
use Exception;
use Throwable;
class TelegramException extends Exception
{
/**
* Public Constructor
*
* @param string $message
* @param int $code
* @param Throwable|null $previous
*/
public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
}