Skip to content

hook_civicrm_QueueRun

Summary

This hook allows for the modification of how a queue task Error is handled.

Definition

hook_civicrm_queueTaskError(CRM_Queue_Queue $queue, CRM_Queue_Task $item, &$outcome, ?Throwable $exception) {

Parameters

$queue CRM_Queue_Queue Queue that is being processed $task CRM_Queue_task Task within the queue that is being processed $outcome string the task outcome see doc block for more information. $exception The Exception Object being thrown or NULL

Availability

5.51+

Example