<?php

declare(strict_types=1);

namespace App\Framework\Notification\Events;

use App\Framework\Notification\Notification;
use App\Framework\Notification\NotificationResult;

/**
 * Event dispatched when a notification fails to send on all channels
 */
final readonly class NotificationFailed
{
    public function __construct(
        public Notification $notification,
        public NotificationResult $result
    ) {
    }
}
