You are here

public function SparkpostMessageWrapper::setApiResponseException in Sparkpost email 7.2

Same name and namespace in other branches
  1. 7 includes/sparkpost.message_wrapper.inc \SparkpostMessageWrapper::setApiResponseException()

Parameters

\SparkPost\APIResponseException $apiResponseException:

Overrides SparkpostMessageWrapperInterface::setApiResponseException

1 call to SparkpostMessageWrapper::setApiResponseException()
SparkpostQueuedMessageWrapper::__construct in modules/sparkpost_requeue/sparkpost_requeue.queue_message_wrapper.inc
SparkpostQueuedMessageWrapper constructor.

File

includes/sparkpost.message_wrapper.inc, line 55
Message class.

Class

SparkpostMessageWrapper
@file Message class.

Code

public function setApiResponseException(\SparkPost\APIResponseException $apiResponseException) {
  $this->apiResponseException = $apiResponseException;
}