class JobFailed (View source)

Methods

void
__construct(string $connectionName, Job $job, Throwable $exception)

Create a new event instance.

Details

void __construct(string $connectionName, Job $job, Throwable $exception)

Create a new event instance.

Parameters

string $connectionName

The connection name.

Job $job

The job instance.

Throwable $exception

The exception that caused the job to fail.

Return Value

void