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

Breadcrumb

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

class UploadException

Thrown when an error occurred during file upload.

@author Bernhard Schussek <bschussek@gmail.com>

Hierarchy

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

Expanded class hierarchy of UploadException

3 files declare their use of UploadException
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

File

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

Namespace

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

}

API Navigation

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