<?php
namespace IlluminateQueueEvents;
class JobFailed
{
/**
* Create a new event instance.
*
* @param string $connectionName The connection name.
* @param IlluminateContractsQueueJob $job The job instance.
* @param Throwable $exception The exception that caused the job to fail.
*/
public function __construct(
public $connectionName,
public $job,
public $exception,
) {
}
}