class FieldException

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldException.php \Drupal\Core\Field\FieldException
  2. 8.9.x core/lib/Drupal/Core/Field/FieldException.php \Drupal\Core\Field\FieldException
  3. 10 core/lib/Drupal/Core/Field/FieldException.php \Drupal\Core\Field\FieldException
  4. 11.x core/lib/Drupal/Core/Field/FieldException.php \Drupal\Core\Field\FieldException

Base class for all exceptions thrown by Field API functions.

This class has no functionality of its own other than allowing all Field API exceptions to be caught by a single catch block.

Hierarchy

Expanded class hierarchy of FieldException

File

modules/field/field.module, line 13

View source
class FieldException extends Exception {

}

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