
| Current Path : /var/www/html/rocksensor1/web/core/lib/Drupal/Core/Recipe/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor1/web/core/lib/Drupal/Core/Recipe/UnknownRecipeException.php |
<?php
declare(strict_types=1);
namespace Drupal\Core\Recipe;
/**
* Exception thrown when recipe is can not be found.
*
* @internal
* This API is experimental.
*/
final class UnknownRecipeException extends \RuntimeException {
/**
* @param string $recipe
* The recipe's name.
* @param string $searchPath
* The path searched for the recipe.
* @param string $message
* (optional) The exception message.
* @param int $code
* (optional) The exception code.
* @param \Throwable|null $previous
* (optional) The previous exception.
*/
public function __construct(public readonly string $recipe, public readonly string $searchPath, string $message = "", int $code = 0, ?\Throwable $previous = NULL) {
parent::__construct($message, $code, $previous);
}
}