class InvalidDataTypeException
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Serialization/Exception/InvalidDataTypeException.php \Drupal\Component\Serialization\Exception\InvalidDataTypeException
- 10 core/lib/Drupal/Component/Serialization/Exception/InvalidDataTypeException.php \Drupal\Component\Serialization\Exception\InvalidDataTypeException
- 11.x core/lib/Drupal/Component/Serialization/Exception/InvalidDataTypeException.php \Drupal\Component\Serialization\Exception\InvalidDataTypeException
Exception thrown when a data type is invalid.
Hierarchy
- class \Drupal\Component\Serialization\Exception\InvalidDataTypeException extends \Drupal\Component\Serialization\Exception\InvalidArgumentException
Expanded class hierarchy of InvalidDataTypeException
18 files declare their use of InvalidDataTypeException
- ConfigSingleImportForm.php in core/
modules/ config/ src/ Form/ ConfigSingleImportForm.php - FileStorage.php in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - FrontMatter.php in core/
lib/ Drupal/ Component/ FrontMatter/ FrontMatter.php - FrontMatterParseException.php in core/
lib/ Drupal/ Component/ FrontMatter/ Exception/ FrontMatterParseException.php - HelpTopicDiscovery.php in core/
modules/ help_topics/ src/ HelpTopicDiscovery.php
File
-
core/
lib/ Drupal/ Component/ Serialization/ Exception/ InvalidDataTypeException.php, line 8
Namespace
Drupal\Component\Serialization\ExceptionView source
class InvalidDataTypeException extends \InvalidArgumentException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.