You are here

public function FailedImportEvent::setException in Acquia Content Hub 8.2

Set the exception to throw on event failure.

Parameters

\Exception $exception: The exception to set.

File

src/Event/FailedImportEvent.php, line 135

Class

FailedImportEvent
An event for responding to failed imports.

Namespace

Drupal\acquia_contenthub\Event

Code

public function setException(\Exception $exception) {
  $this->exception = $exception;
}