%PDF- %PDF-
Direktori : /home/silvzytp/ccd-ind-code/vendor/laravel/framework/src/Illuminate/Routing/Exceptions/ |
Current File : //home/silvzytp/ccd-ind-code/vendor/laravel/framework/src/Illuminate/Routing/Exceptions/StreamedResponseException.php |
<?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; } }