You are here

public function FailedImportEvent::hasException in Acquia Content Hub 8.2

Determines if an event subscriber has created an exception to throw.

Return value

bool Whether or not an exception has been added to this event.

File

src/Event/FailedImportEvent.php, line 115

Class

FailedImportEvent
An event for responding to failed imports.

Namespace

Drupal\acquia_contenthub\Event

Code

public function hasException() : bool {
  return (bool) $this->exception;
}