You are here

public function SmsMessageResultInterface::getError in SMS Framework 2.x

Same name and namespace in other branches
  1. 8 src/Message/SmsMessageResultInterface.php \Drupal\sms\Message\SmsMessageResultInterface::getError()
  2. 2.1.x src/Message/SmsMessageResultInterface.php \Drupal\sms\Message\SmsMessageResultInterface::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.

2 methods override SmsMessageResultInterface::getError()
SmsMessageResult::getError in src/Message/SmsMessageResult.php
Gets the error of the message.
SmsMessageResult::getError in src/Entity/SmsMessageResult.php
Gets the error of the message.

File

src/Message/SmsMessageResultInterface.php, line 19

Class

SmsMessageResultInterface
Contains information on SMS message results.

Namespace

Drupal\sms\Message

Code

public function getError();