class ScheduledTaskFailed
Create a new event instance.
__construct(Event $task, Throwable $exception)