public function SalesforceExceptionEvent::getException in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/Event/SalesforceExceptionEvent.php \Drupal\salesforce\Event\SalesforceExceptionEvent::getException()
- 8.3 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\EventCode
public function getException() {
return $this->exception;
}