function UnknownRecipeException::__construct
Same name in other branches
- 10 core/lib/Drupal/Core/Recipe/UnknownRecipeException.php \Drupal\Core\Recipe\UnknownRecipeException::__construct()
Parameters
string $recipe: The recipe's name.
string $searchPath: The path searched for the recipe.
string $message: (optional) The exception message.
int $code: (optional) The exception code.
\Throwable|null $previous: (optional) The previous exception.
File
-
core/
lib/ Drupal/ Core/ Recipe/ UnknownRecipeException.php, line 27
Class
- UnknownRecipeException
- Exception thrown when recipe is can not be found.
Namespace
Drupal\Core\RecipeCode
public function __construct(string $recipe, string $searchPath, 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.