Expanded class hierarchy of NotRegularDirectoryException in Drupal 9
- class \Drupal\Core\File\Exception\FileException extends \Drupal\Core\File\Exception\RuntimeException
- class \Drupal\Core\File\Exception\DirectoryNotReadyException
- class \Drupal\Core\File\Exception\FileExistsException
- class \Drupal\Core\File\Exception\FileNotExistsException
- class \Drupal\Core\File\Exception\FileWriteException
- class \Drupal\Core\File\Exception\InvalidStreamWrapperException
- class \Drupal\Core\File\Exception\NotRegularDirectoryException
- class \Drupal\Core\File\Exception\NotRegularFileException