Drupal\Core\File\Exception
Classes
Exception thrown when a file's destination directory is not ready.
Base class for exceptions related to file handling operations.
Exception thrown when a file unexpectedly exists.
Exception thrown when a file is expected to exist but does not.
Exception thrown when file cannot be written to disk.
Exception thrown when a target is not a regular directory (e.g. a file).
Exception thrown when a target is not a regular file (e.g. a directory).