Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

namespace Drupal\Core\File\Exception

Object name File name Summary
DirectoryNotReadyException core/lib/Drupal/Core/File/Exception/DirectoryNotReadyException.php Exception thrown when a file's destination directory is not ready.
FileException core/lib/Drupal/Core/File/Exception/FileException.php Base class for exceptions related to file handling operations.
FileExistsException core/lib/Drupal/Core/File/Exception/FileExistsException.php Exception thrown when a file unexpectedly exists.
FileNotExistsException core/lib/Drupal/Core/File/Exception/FileNotExistsException.php Exception thrown when a file is expected to exist but does not.
FileWriteException core/lib/Drupal/Core/File/Exception/FileWriteException.php Exception thrown when file cannot be written to disk.
InvalidStreamWrapperException core/lib/Drupal/Core/File/Exception/InvalidStreamWrapperException.php Exception thrown when a file's stream wrapper is invalid.
NotRegularDirectoryException core/lib/Drupal/Core/File/Exception/NotRegularDirectoryException.php Exception thrown when a target is not a regular directory (e.g. a file).
NotRegularFileException core/lib/Drupal/Core/File/Exception/NotRegularFileException.php Exception thrown when a target is not a regular file (e.g. a directory).

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal