You are here

public function PushQueueInterface::failItem in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_push/src/PushQueueInterface.php \Drupal\salesforce_push\PushQueueInterface::failItem()
  2. 8.3 modules/salesforce_push/src/PushQueueInterface.php \Drupal\salesforce_push\PushQueueInterface::failItem()

Failed item handler.

Exception handler so that Queue Processors don't have to worry about what happens when a queue item fails.

Parameters

\Throwable $e: The exception which caused the failure.

object $item: The failed item.

1 method overrides PushQueueInterface::failItem()
PushQueue::failItem in modules/salesforce_push/src/PushQueue.php
Failed item handler.

File

modules/salesforce_push/src/PushQueueInterface.php, line 55

Class

PushQueueInterface
Push queue interface.

Namespace

Drupal\salesforce_push

Code

public function failItem(\Throwable $e, \stdClass $item);