public function ConnectorException::__construct in Acquia Connector 8.2
Same name and namespace in other branches
- 8 src/ConnectorException.php \Drupal\acquia_connector\ConnectorException::__construct()
- 3.x src/ConnectorException.php \Drupal\acquia_connector\ConnectorException::__construct()
ConnectorException constructor.
Parameters
string $message: Exception message.
int $code: Exception code.
array $custom: Exception messages as key => value.
\Exception|null $previous: The previous exception used for the exception chaining. Since 5.3.0.
File
- src/
ConnectorException.php, line 32
Class
- ConnectorException
- Produce an exception for certain cases in the connector.
Namespace
Drupal\acquia_connectorCode
public function __construct($message, $code = 0, array $custom = [], \Exception $previous = NULL) {
parent::__construct($message, $code, $previous);
$this->custom = $custom;
}