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:
Netkas 2023-04-23 16:20:41 -04:00
parent f54c30b320
commit 9ffc0a2105
2 changed files with 14 additions and 1 deletions

View 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);
}
}