PHP 7.4.33
Preview: CouldNotCreateChecksumException.php Size: 1.07 KB
/home/godevadmin/www/admin/vendor/aws/Aws/Exception/CouldNotCreateChecksumException.php

<?php
namespace Aws\Exception;

use Aws\HasMonitoringEventsTrait;
use Aws\MonitoringEventsInterface;

class CouldNotCreateChecksumException extends \RuntimeException implements
    MonitoringEventsInterface
{
    use HasMonitoringEventsTrait;

    public function __construct($algorithm, \Exception $previous = null)
    {
        $prefix = $algorithm === 'md5' ? "An" : "A";
        parent::__construct("{$prefix} {$algorithm} checksum could not be "
            . "calculated for the provided upload body, because it was not "
            . "seekable. To prevent this error you can either 1) include the "
            . "ContentMD5 or ContentSHA256 parameters with your request, 2) "
            . "use a seekable stream for the body, or 3) wrap the non-seekable "
            . "stream in a GuzzleHttp\\Psr7\\CachingStream object. You "
            . "should be careful though and remember that the CachingStream "
            . "utilizes PHP temp streams. This means that the stream will be "
            . "temporarily stored on the local disk.", 0, $previous);
    }
}

Directory Contents

Dirs: 0 × Files: 14

Name Size Perms Modified Actions
7.12 KB lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
103 B lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
1.07 KB lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
245 B lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
202 B lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
171 B lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
821 B lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
253 B lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
245 B lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
247 B lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
1.91 KB lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
247 B lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
252 B lrwxrwxr-x 2024-06-18 20:10:18
Edit Download
253 B lrwxrwxr-x 2024-06-18 20:10:18
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).