namespace Drupal\Component\Plugin\Exception

Same name in other branches
  1. 9 Drupal\Component\Plugin\Exception
  2. 8.9.x Drupal\Component\Plugin\Exception
  3. 11.x Drupal\Component\Plugin\Exception
Object name File name Summary
ContextException core/lib/Drupal/Component/Plugin/Exception/ContextException.php An exception class to be thrown for context plugin exceptions.
ExceptionInterface core/lib/Drupal/Component/Plugin/Exception/ExceptionInterface.php Exception interface for all exceptions thrown by the Plugin component.
InvalidDecoratedMethod core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php Thrown when a decorator's _call() method uses a method that does not exist.
InvalidDeriverException core/lib/Drupal/Component/Plugin/Exception/InvalidDeriverException.php Exception to be thrown if a plugin tries to use an invalid deriver.
InvalidPluginDefinitionException core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php Defines a class for invalid plugin definition exceptions.
MapperExceptionInterface core/lib/Drupal/Component/Plugin/Exception/MapperExceptionInterface.php Base exception interface for grouping mapper exceptions.
MissingValueContextException core/lib/Drupal/Component/Plugin/Exception/MissingValueContextException.php An exception class thrown when contexts exist but are missing a value.
PluginException core/lib/Drupal/Component/Plugin/Exception/PluginException.php Base class for plugin exceptions.
PluginNotFoundException core/lib/Drupal/Component/Plugin/Exception/PluginNotFoundException.php Plugin exception class to be thrown when a plugin ID could not be found.

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