![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/vendor/react/promise/src/Exception/ |
<?php namespace 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; } }