src/Exceptions/TelegramGitNotifierException.php
<?php
namespace CSlant\TelegramGitNotifier\Exceptions;
use Exception;
class TelegramGitNotifierException extends Exception
{
public static function isEmpty(): self
{
return new self('Telegram Git Notifier is empty');
}
public static function invalid(): self
{
return new self('Telegram Git Notifier is invalid');
}
}