class InvalidStreamWrapperException

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/File/Exception/InvalidStreamWrapperException.php \Drupal\Core\File\Exception\InvalidStreamWrapperException
  2. 10 core/lib/Drupal/Core/File/Exception/InvalidStreamWrapperException.php \Drupal\Core\File\Exception\InvalidStreamWrapperException

Exception thrown when a file's stream wrapper is invalid.

Hierarchy

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

Expanded class hierarchy of InvalidStreamWrapperException

10 files declare their use of InvalidStreamWrapperException
CopyTest.php in core/modules/file/tests/src/Kernel/CopyTest.php
file.module in core/modules/file/file.module
Defines a "managed_file" Form API field and a "file" field for Field module.
FileRepository.php in core/modules/file/src/FileRepository.php
FileRepositoryTest.php in core/modules/file/tests/src/Kernel/FileRepositoryTest.php
FileUploadHandler.php in core/modules/file/src/Upload/FileUploadHandler.php

... See full list

File

core/lib/Drupal/Core/File/Exception/InvalidStreamWrapperException.php, line 8

Namespace

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

}

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