public function ConnectorException::setCustomMessage in Acquia Connector 8
Same name and namespace in other branches
- 8.2 src/ConnectorException.php \Drupal\acquia_connector\ConnectorException::setCustomMessage()
- 3.x 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;
}