REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.21 KB
Close
/opt/cpanel/ea-wappspector/vendor/guzzlehttp/promises/src/RejectionException.php
Text
Base64
<?php declare(strict_types=1); namespace GuzzleHttp\Promise; /** * A special exception that is thrown when waiting on a rejected promise. * * The reason value is available via the getReason() method. */ class RejectionException extends \RuntimeException { /** @var mixed Rejection reason. */ private $reason; /** * @param mixed $reason Rejection reason. * @param string|null $description Optional description. */ public function __construct($reason, ?string $description = null) { $this->reason = $reason; $message = 'The promise was rejected'; if ($description) { $message .= ' with reason: '.$description; } elseif (is_string($reason) || (is_object($reason) && method_exists($reason, '__toString')) ) { $message .= ' with reason: '.$this->reason; } elseif ($reason instanceof \JsonSerializable) { $message .= ' with reason: '.json_encode($this->reason, JSON_PRETTY_PRINT); } parent::__construct($message); } /** * Returns the rejection reason. * * @return mixed */ public function getReason() { return $this->reason; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 16
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AggregateException.php
413 B
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CancellationException.php
209 B
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Coroutine.php
4.07 KB
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Create.php
1.96 KB
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Each.php
2.60 KB
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
EachPromise.php
7.42 KB
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
FulfilledPromise.php
2.00 KB
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Is.php
941 B
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Promise.php
8.75 KB
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PromiseInterface.php
2.76 KB
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PromisorInterface.php
249 B
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RejectedPromise.php
2.21 KB
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RejectionException.php
1.21 KB
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
TaskQueue.php
1.97 KB
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
TaskQueueInterface.php
450 B
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Utils.php
8.25 KB
lrw-r--r--
2025-08-22 14:34:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).