You are here

public function SalesforceExceptionEvent::getException in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/Event/SalesforceExceptionEvent.php \Drupal\salesforce\Event\SalesforceExceptionEvent::getException()
  2. 5.0.x src/Event/SalesforceExceptionEvent.php \Drupal\salesforce\Event\SalesforceExceptionEvent::getException()

Getter for exception.

Return value

\Throwable|null The exception or NULL if no exception was given.

Overrides SalesforceExceptionEventInterface::getException

File

src/Event/SalesforceExceptionEvent.php, line 60

Class

SalesforceExceptionEvent
Base class for Salesforce Exception events, primarily for logging.

Namespace

Drupal\salesforce\Event

Code

public function getException() {
  return $this->exception;
}