You are here

class SalesforceErrorEvent in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/Event/SalesforceErrorEvent.php \Drupal\salesforce\Event\SalesforceErrorEvent
  2. 5.0.x src/Event/SalesforceErrorEvent.php \Drupal\salesforce\Event\SalesforceErrorEvent

Error event.

Hierarchy

Expanded class hierarchy of SalesforceErrorEvent

7 files declare their use of SalesforceErrorEvent
DeleteHandler.php in modules/salesforce_pull/src/DeleteHandler.php
MappedObjectForm.php in modules/salesforce_mapping_ui/src/Form/MappedObjectForm.php
PullBase.php in modules/salesforce_pull/src/Plugin/QueueWorker/PullBase.php
PushQueue.php in modules/salesforce_push/src/PushQueue.php
QueueHandler.php in modules/salesforce_pull/src/QueueHandler.php

... See full list

File

src/Event/SalesforceErrorEvent.php, line 10

Namespace

Drupal\salesforce\Event
View source
class SalesforceErrorEvent extends SalesforceExceptionEvent {

  /**
   * {@inheritdoc}
   */
  public function __construct(\Throwable $e = NULL, $message = '', array $args = []) {
    parent::__construct(RfcLogLevel::ERROR, $e, $message, $args);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SalesforceErrorEvent::__construct public function SalesforceExceptionEvent constructor. Overrides SalesforceExceptionEvent::__construct
SalesforceExceptionEvent::$context protected property Context, for t() translation.
SalesforceExceptionEvent::$exception protected property Exception.
SalesforceExceptionEvent::$level protected property Event level: notice, warning, or error.
SalesforceExceptionEvent::$message protected property Message for logging.
SalesforceExceptionEvent::getContext public function Getter for message context. Overrides SalesforceExceptionEventInterface::getContext
SalesforceExceptionEvent::getException public function Getter for exception. Overrides SalesforceExceptionEventInterface::getException
SalesforceExceptionEvent::getLevel public function Getter for log level. Overrides SalesforceExceptionEventInterface::getLevel
SalesforceExceptionEvent::getMessage public function Getter for message string. Overrides SalesforceExceptionEventInterface::getMessage