class DirectoryNotReadyException

Same name in other branches
  1. 9 core/lib/Drupal/Core/File/Exception/DirectoryNotReadyException.php \Drupal\Core\File\Exception\DirectoryNotReadyException
  2. 8.9.x core/lib/Drupal/Core/File/Exception/DirectoryNotReadyException.php \Drupal\Core\File\Exception\DirectoryNotReadyException
  3. 11.x core/lib/Drupal/Core/File/Exception/DirectoryNotReadyException.php \Drupal\Core\File\Exception\DirectoryNotReadyException

Exception thrown when a file's destination directory is not ready.

A directory can be considered not ready when it either does not exist, or is not writable.

Hierarchy

  • class \Drupal\Core\File\Exception\FileException extends \Drupal\Core\File\Exception\RuntimeException

Expanded class hierarchy of DirectoryNotReadyException

2 files declare their use of DirectoryNotReadyException
FileSystem.php in core/lib/Drupal/Core/File/FileSystem.php
FileSystemTest.php in core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php

File

core/lib/Drupal/Core/File/Exception/DirectoryNotReadyException.php, line 11

Namespace

Drupal\Core\File\Exception
View source
class DirectoryNotReadyException extends FileException {

}

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