Skip to content

hook_civicrm_QueueTaskError

Summary

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

Definition

hook_civicrm_queueTaskError(CRM_Queue_Queue $queue, $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

  • $item - Document parameter here.

Availability

5.51+

Example