Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UnknownRecipeException.php

function 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\Recipe

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal