<?php
/**
 * @package messenger
 * @author kputyr
 * @date 17.04.2025
 */

namespace IMATHUZH\Qfq\Core\Messenger;

/**
 * A data class with information about an error
 * that occurred during publishing a message.
 */
class MessagePublisherError
{
    public function __construct(
        public MessagePublisherInterface $publisher,
        public string $key,
        public string $message
    ) { }
}
