opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
vendor
/
react
/
promise
/
src
/
Exception
➕ New
📤 Upload
✎ Editing:
CompositeException.php
← Back
<?php namespace RectorPrefix202411\React\Promise\Exception; /** * Represents an exception that is a composite of one or more other exceptions. * * This exception is useful in situations where a promise must be rejected * with multiple exceptions. It is used for example to reject the returned * promise from `some()` and `any()` when too many input promises reject. */ class CompositeException extends \Exception { /** @var \Throwable[] */ private $throwables; /** @param \Throwable[] $throwables */ public function __construct(array $throwables, string $message = '', int $code = 0, ?\Throwable $previous = null) { parent::__construct($message, $code, $previous); $this->throwables = $throwables; } /** * @return \Throwable[] */ public function getThrowables() : array { return $this->throwables; } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel