More changes
This commit is contained in:
parent
f311c59ade
commit
b2dbc01193
5 changed files with 46 additions and 0 deletions
22
src/TgBotLib/Exceptions/RequestException.php
Normal file
22
src/TgBotLib/Exceptions/RequestException.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
<?php
|
||||
|
||||
namespace TgBotLib\Exceptions;
|
||||
|
||||
use Exception;
|
||||
use Throwable;
|
||||
|
||||
class RequestException 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