Minor correction
This commit is contained in:
parent
5064aed99f
commit
f2d3c25c59
1 changed files with 1 additions and 2 deletions
21
src/TgBotLib/Exceptions/TelegramException.php
Normal file
21
src/TgBotLib/Exceptions/TelegramException.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue