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

Breadcrumb

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

function RequirementsException::__construct

Constructs a new RequirementsException instance.

Parameters

string $message: (optional) The Exception message to throw.

array $requirements: (optional) The missing requirements.

int $code: (optional) The Exception code.

\Exception $previous: (optional) The previous exception used for the exception chaining.

File

core/modules/migrate/src/Exception/RequirementsException.php, line 31

Class

RequirementsException
Defines an exception thrown when a migration does not meet the requirements.

Namespace

Drupal\migrate\Exception

Code

public function __construct($message = "", array $requirements = [], $code = 0, ?\Exception $previous = NULL) {
    parent::__construct($message, $code, $previous);
    $this->requirements = $requirements;
}

API Navigation

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