Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
:
StreamedResponseException.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Illuminate\Routing\Exceptions; use Illuminate\Http\Response; use RuntimeException; use Throwable; class StreamedResponseException extends RuntimeException { /** * The actual exception thrown during the stream. * * @var \Throwable */ public $originalException; /** * Create a new exception instance. * * @param \Throwable $originalException * @return void */ public function __construct(Throwable $originalException) { $this->originalException = $originalException; parent::__construct($originalException->getMessage()); } /** * Render the exception. * * @return \Illuminate\Http\Response */ public function render() { return new Response(''); } /** * Get the actual exception thrown during the stream. * * @return \Throwable */ public function getInnerException() { return $this->originalException; } }