public function SmsMessageResultInterface::setErrorMessage in SMS Framework 2.x
Same name and namespace in other branches
- 8 src/Message/SmsMessageResultInterface.php \Drupal\sms\Message\SmsMessageResultInterface::setErrorMessage()
- 2.1.x src/Message/SmsMessageResultInterface.php \Drupal\sms\Message\SmsMessageResultInterface::setErrorMessage()
Sets the error message.
Parameters
string $message: The error message as provided by the gateway API.
Return value
$this Returns this report object for chaining.
2 methods override SmsMessageResultInterface::setErrorMessage()
- SmsMessageResult::setErrorMessage in src/
Message/ SmsMessageResult.php - Sets the error message.
- SmsMessageResult::setErrorMessage in src/
Entity/ SmsMessageResult.php - Sets the error message.
File
- src/
Message/ SmsMessageResultInterface.php, line 53
Class
- SmsMessageResultInterface
- Contains information on SMS message results.
Namespace
Drupal\sms\MessageCode
public function setErrorMessage($message);