jeyroik/df-telegram

View on GitHub
src/components/exceptions/telegram/IncorrectBotToken.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace deflou\components\exceptions\telegram;

use Throwable;

class IncorrectBotToken extends \Exception
{
    /**
     * Missed constructor.
     * @param string $message
     * @param int $code
     * @param Throwable|null $previous
     */
    public function __construct($message = "", $code = 0, Throwable $previous = null)
    {
        parent::__construct('Incorrect bot token: ' . $message, $code, $previous);
    }
}