<?php
namespace IlluminateConsoleEvents;
use IlluminateConsoleSchedulingEvent;
use Throwable;
class ScheduledTaskFailed
{
/**
* Create a new event instance.
*
* @param IlluminateConsoleSchedulingEvent $task The scheduled event that failed.
* @param Throwable $exception The exception that was thrown.
*/
public function __construct(
public Event $task,
public Throwable $exception,
) {
}
}