public function ConnectorException::setCustomMessage in Acquia Connector 3.x
Same name and namespace in other branches
- 8.2 src/ConnectorException.php \Drupal\acquia_connector\ConnectorException::setCustomMessage()
- 8 src/ConnectorException.php \Drupal\acquia_connector\ConnectorException::setCustomMessage()
Set custom message.
Parameters
mixed $value: Custom message value.
string $key: Custom message key.
File
- src/
ConnectorException.php, line 55
Class
- ConnectorException
- Produce an exception for certain cases in the connector.
Namespace
Drupal\acquia_connectorCode
public function setCustomMessage($value, $key = 'message') {
$this->custom[$key] = $value;
}