3b0990e9da66cf078ea6d23eb458541022e34059
[GitHub/WoltLab/WCF.git] /
1 <?php
2
3 /**
4 * @see https://github.com/laminas/laminas-diactoros for the canonical source repository
5 * @copyright https://github.com/laminas/laminas-diactoros/blob/master/COPYRIGHT.md
6 * @license https://github.com/laminas/laminas-diactoros/blob/master/LICENSE.md New BSD License
7 */
8
9 declare(strict_types=1);
10
11 namespace Laminas\Diactoros\Exception;
12
13 use RuntimeException;
14 use Throwable;
15
16 class UploadedFileAlreadyMovedException extends RuntimeException implements ExceptionInterface
17 {
18 public function __construct(
19 string $message = 'Cannot retrieve stream after it has already moved',
20 $code = 0,
21 Throwable $previous = null
22 ) {
23 parent::__construct($message, $code, $previous);
24 }
25 }