public function SmsMessageResult::getErrorMessage in SMS Framework 8
Same name in this branch
- 8 src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::getErrorMessage()
- 8 src/Entity/SmsMessageResult.php \Drupal\sms\Entity\SmsMessageResult::getErrorMessage()
Same name and namespace in other branches
- 2.x src/Entity/SmsMessageResult.php \Drupal\sms\Entity\SmsMessageResult::getErrorMessage()
- 2.1.x src/Entity/SmsMessageResult.php \Drupal\sms\Entity\SmsMessageResult::getErrorMessage()
Gets the error message.
Return value
string The error message as provided by the gateway API.
Overrides SmsMessageResultInterface::getErrorMessage
File
- src/
Entity/ SmsMessageResult.php, line 63
Class
- SmsMessageResult
- Defines the SMS message result entity.
Namespace
Drupal\sms\EntityCode
public function getErrorMessage() {
return $this
->get('error_message')->value;
}