You are here

public function SmsMessageResult::getErrorMessage in SMS Framework 8

Same name in this branch
  1. 8 src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::getErrorMessage()
  2. 8 src/Entity/SmsMessageResult.php \Drupal\sms\Entity\SmsMessageResult::getErrorMessage()
Same name and namespace in other branches
  1. 2.x src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::getErrorMessage()
  2. 2.1.x src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::getErrorMessage()

Gets the error message.

Return value

string The error message as provided by the gateway API.

Overrides SmsMessageResultInterface::getErrorMessage

File

src/Message/SmsMessageResult.php, line 69

Class

SmsMessageResult
The result of an SMS messaging transaction.

Namespace

Drupal\sms\Message

Code

public function getErrorMessage() {
  return $this->errorMessage;
}