<?php

declare(strict_types=1);

namespace App\Framework\Deployment\Docker\Events;

use App\Framework\Filesystem\ValueObjects\FilePath;

/**
 * Compose Deployment Failed Event
 *
 * Dispatched when a docker-compose deployment operation fails.
 */
final readonly class ComposeDeploymentFailed
{
    public function __construct(
        public FilePath $composeFile,
        public string $operation,
        public string $error,
        public \DateTimeImmutable $timestamp
    ) {}
}
