class InvalidStreamWrapperException

Same name in other branches
  1. 10 core/lib/Drupal/Core/File/Exception/InvalidStreamWrapperException.php \Drupal\Core\File\Exception\InvalidStreamWrapperException
  2. 11.x 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.inc in core/includes/file.inc
API for handling file uploads and server file management.
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

... 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.