Expanded class hierarchy of FileExistsException in Drupal 10
- 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