Added new exception class NotImplementedException
to represent the case when a method is not implemented yet or the method is not applicable to the current object.
This commit is contained in:
parent
f54c30b320
commit
9ffc0a2105
2 changed files with 14 additions and 1 deletions
|
@ -15,7 +15,7 @@ This update accompanies the release of the [Telegram Bot API 6.7](https://core.t
|
|||
* Added object `\TgBotLib\Objects\Telegram > InputVenueMessageContent` to represent the content of a venue message to be sent as the result of an inline query.
|
||||
* Added object `\TgBotLib\Objects\Telegram > InputContactMessageContent` to represent the content of a contact message to be sent as the result of an inline query.
|
||||
* Added object `\TgBotLib\Objects\Telegram > InputInvoiceMessageContent` to represent the content of an invoice message to be sent as the result of an inline query.
|
||||
|
||||
* Added new exception class `NotImplementedException` to represent the case when a method is not implemented yet or the method is not applicable to the current object.
|
||||
|
||||
## [6.6.0] - 2023-04-10
|
||||
|
||||
|
|
13
src/TgBotLib/Exceptions/NotImplementedException.php
Normal file
13
src/TgBotLib/Exceptions/NotImplementedException.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Exceptions;
|
||||
|
||||
use Throwable;
|
||||
|
||||
class NotImplementedException extends \Exception
|
||||
{
|
||||
public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue