function RecipePreExistingConfigException::__construct

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Recipe/RecipePreExistingConfigException.php \Drupal\Core\Recipe\RecipePreExistingConfigException::__construct()

Constructs a RecipePreExistingConfigException.

Parameters

string $configName: The configuration name that has missing dependencies.

string $message: [optional] The Exception message to throw.

int $code: [optional] The Exception code.

null|\Throwable $previous: [optional] The previous throwable used for the exception chaining.

File

core/lib/Drupal/Core/Recipe/RecipePreExistingConfigException.php, line 27

Class

RecipePreExistingConfigException
Exception thrown when a recipe has configuration that exists already.

Namespace

Drupal\Core\Recipe

Code

public function __construct(string $configName, string $message = "", int $code = 0, ?\Throwable $previous = NULL) {
    parent::__construct($message, $code, $previous);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.