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
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
Add a link
Reference in a new issue