class JobFailed (View source)

Methods

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

Create a new event instance.

Details

__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.

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.