public function SmsMessageResult::getError in SMS Framework 2.x
Same name in this branch
- 2.x src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::getError()
- 2.x src/Entity/SmsMessageResult.php \Drupal\sms\Entity\SmsMessageResult::getError()
Same name and namespace in other branches
- 8 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 56
Class
- SmsMessageResult
- The result of an SMS messaging transaction.
Namespace
Drupal\sms\MessageCode
public function getError() {
return $this->error;
}