name : NotificationCouldNotBeSent.php
<?php

namespace Spatie\Backup\Exceptions;

use Exception;

class NotificationCouldNotBeSent extends Exception
{
    public static function noNotificationClassForEvent($event): self
    {
        $eventClass = get_class($event);

        return new static("There is no notification class that can handle event `{$eventClass}`.");
    }
}

© 2025 UnknownSec
afwwrfwafr45458465
Password