You are here

class ContainerNotInitializedException in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php \Drupal\Core\DependencyInjection\ContainerNotInitializedException
  2. 9 core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php \Drupal\Core\DependencyInjection\ContainerNotInitializedException

Exception thrown when a method is called that requires a container, but the container is not initialized yet.

Hierarchy

Expanded class hierarchy of ContainerNotInitializedException

See also

\Drupal

2 files declare their use of ContainerNotInitializedException
Drupal.php in core/lib/Drupal.php
DrupalTest.php in core/tests/Drupal/Tests/Core/DrupalTest.php

File

core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php, line 11

Namespace

Drupal\Core\DependencyInjection
View source
class ContainerNotInitializedException extends \RuntimeException {

}

Members