cslant/telegram-git-notifier

View on GitHub
src/Exceptions/TelegramGitNotifierException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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');
    }
}