Expanded class hierarchy of FrontMatterParseException in Drupal 9
- class \Drupal\Component\Serialization\Exception\InvalidDataTypeException extends \Drupal\Component\Serialization\Exception\InvalidArgumentException
- class \Drupal\Component\FrontMatter\Exception\FrontMatterParseException