class DiscoveryException

Same name in other branches
  1. 9 core/lib/Drupal/Component/Discovery/DiscoveryException.php \Drupal\Component\Discovery\DiscoveryException
  2. 8.9.x core/lib/Drupal/Component/Discovery/DiscoveryException.php \Drupal\Component\Discovery\DiscoveryException
  3. 11.x core/lib/Drupal/Component/Discovery/DiscoveryException.php \Drupal\Component\Discovery\DiscoveryException

Exception thrown during discovery if the data is invalid.

Hierarchy

  • class \Drupal\Component\Discovery\DiscoveryException extends \Drupal\Component\Discovery\RuntimeException

Expanded class hierarchy of DiscoveryException

3 files declare their use of DiscoveryException
HelpTopicDiscovery.php in core/modules/help/src/HelpTopicDiscovery.php
HelpTopicDiscoveryTest.php in core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php
YamlDirectoryDiscoveryTest.php in core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php

File

core/lib/Drupal/Component/Discovery/DiscoveryException.php, line 8

Namespace

Drupal\Component\Discovery
View source
class DiscoveryException extends \RuntimeException {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.