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

Breadcrumb

  1. Drupal Core 11.1.x
  2. NoFileException.php

class NoFileException

Thrown when an UPLOAD_ERR_NO_FILE error occurred with UploadedFile.

@author Florent Mata <florentmata@gmail.com>

Hierarchy

  • class \Symfony\Component\HttpFoundation\File\Exception\FileException extends \Symfony\Component\HttpFoundation\File\Exception\RuntimeException
    • class \Symfony\Component\HttpFoundation\File\Exception\NoFileException extends \Symfony\Component\HttpFoundation\File\Exception\FileException

Expanded class hierarchy of NoFileException

4 files declare their use of NoFileException
FileUpload.php in core/modules/jsonapi/src/Controller/FileUpload.php
FileUploadResource.php in core/modules/file/src/Plugin/rest/resource/FileUploadResource.php
InputStreamFileWriter.php in core/modules/file/src/Upload/InputStreamFileWriter.php
UploadedFile.php in vendor/symfony/http-foundation/File/UploadedFile.php

File

vendor/symfony/http-foundation/File/Exception/NoFileException.php, line 19

Namespace

Symfony\Component\HttpFoundation\File\Exception
View source
class NoFileException extends FileException {

}

API Navigation

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