public function KeyGenerationException::__construct in Lightning API 8
Same name and namespace in other branches
- 8.4 src/Exception/KeyGenerationException.php \Drupal\lightning_api\Exception\KeyGenerationException::__construct()
- 8.2 src/Exception/KeyGenerationException.php \Drupal\lightning_api\Exception\KeyGenerationException::__construct()
- 8.3 src/Exception/KeyGenerationException.php \Drupal\lightning_api\Exception\KeyGenerationException::__construct()
File
- src/
Exception/ KeyGenerationException.php, line 7
Class
Namespace
Drupal\lightning_api\ExceptionCode
public function __construct($message = "", $code = 0, \Exception $previous = NULL) {
if (empty($message)) {
$message = openssl_error_string() ?: 'An internal error occurred';
}
parent::__construct($message, $code, $previous);
}