whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
amphp
/
amp
/
lib
/
Upload File:
files >> //home/kckglobal/www/portal/vendor/amphp/amp/lib/MultiReasonException.php
<?php namespace Amp; class MultiReasonException extends \Exception { /** @var \Throwable[] */ private $reasons; /** * @param \Throwable[] $reasons Array of exceptions rejecting the promise. * @param string|null $message */ public function __construct(array $reasons, ?string $message = null) { parent::__construct($message ?: "Multiple errors encountered; use " . self::class . "::getReasons() to retrieve the array of exceptions thrown"); $this->reasons = $reasons; } /** * @return \Throwable[] */ public function getReasons(): array { return $this->reasons; } }
Copyright ©2021 || Defacer Indonesia