class ScheduledTaskFailed (View source)

Methods

__construct(Event $task, Throwable $exception, float|null $runtime = null)

Create a new event instance.

Details

__construct(Event $task, Throwable $exception, float|null $runtime = null)

Create a new event instance.

Parameters

Event $task

The scheduled event that failed.

Throwable $exception

The exception that was thrown.

float|null $runtime

The runtime of the scheduled event.