Lines Matching refs:reason
17 private $reason; variable in GuzzleHttp\\Promise\\RejectedPromise
20 * @param mixed $reason
22 public function __construct($reason) argument
24 if (is_object($reason) && method_exists($reason, 'then')) {
30 $this->reason = $reason;
43 $reason = $this->reason;
45 $queue->add(static function () use ($p, $reason, $onRejected): void {
49 $p->resolve($onRejected($reason));
68 throw Create::exceptionFor($this->reason);
84 public function reject($reason): void argument
86 if ($reason !== $this->reason) {