public function SmsMessageResult::getError in SMS Framework 8
Same name in this branch
- 8 src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::getError()
- 8 src/Entity/SmsMessageResult.php \Drupal\sms\Entity\SmsMessageResult::getError()
Same name and namespace in other branches
- 2.x src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::getError()
- 2.1.x src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::getError()
Gets the error of the message.
Return value
string|null A error code from \Drupal\sms\Message\SmsMessageResultError, or NULL if there was no error.
Overrides SmsMessageResultInterface::getError
File
- src/
Message/ SmsMessageResult.php, line 54
Class
- SmsMessageResult
- The result of an SMS messaging transaction.
Namespace
Drupal\sms\MessageCode
public function getError() {
return $this->error;
}