You are here

public function MessageWrapperInterface::setApiResponseException in Sparkpost email 8.2

Sets the API response exception.

Parameters

\SparkPost\SparkPostException $sparkPostException: The exception.

1 method overrides MessageWrapperInterface::setApiResponseException()
MessageWrapper::setApiResponseException in src/MessageWrapper.php
Sets the API response exception.

File

src/MessageWrapperInterface.php, line 91
Message class.

Class

MessageWrapperInterface
An interface for the message wrapper we use.

Namespace

Drupal\sparkpost

Code

public function setApiResponseException(SparkPostException $sparkPostException);