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

Breadcrumb

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

function RecipeFileException::__construct

Constructs a RecipeFileException object.

Parameters

string $path: The path of the offending recipe file.

string $message: (optional) The exception message.

\Symfony\Component\Validator\ConstraintViolationList|null $violations: (optional) A list of validation constraint violations in the recipe file, if any.

int $code: (optional) The exception code.

\Throwable|null $previous: (optional) The previous exception, if any.

File

core/lib/Drupal/Core/Recipe/RecipeFileException.php, line 30

Class

RecipeFileException
@internal This API is experimental.

Namespace

Drupal\Core\Recipe

Code

public function __construct(string $path, string $message = '', ?ConstraintViolationList $violations = NULL, 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