File manager - Edit - /home/ferretapmx/public_html/libraries/vendor/laminas/laminas-diactoros/src/Exception/UploadedFileErrorException.php
Back
<?php declare(strict_types=1); namespace Laminas\Diactoros\Exception; use RuntimeException; use function sprintf; class UploadedFileErrorException extends RuntimeException implements ExceptionInterface { public static function forUnmovableFile(): self { return new self('Error occurred while moving uploaded file'); } public static function dueToStreamUploadError(string $error): self { return new self(sprintf( 'Cannot retrieve stream due to upload error: %s', $error )); } public static function dueToUnwritablePath(): self { return new self('Unable to write to designated path'); } public static function dueToUnwritableTarget(string $targetDirectory): self { return new self(sprintf( 'The target directory `%s` does not exist or is not writable', $targetDirectory )); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings