Searched refs:RejectedPromise (Results 1 – 15 of 15) sorted by relevance
6 * @deprecated 2.8.0 External usage of RejectedPromise is deprecated, use `reject()` instead.8 class RejectedPromise implements ExtendedPromiseInterface, CancellablePromiseInterface class 15 throw new \InvalidArgumentException('You cannot create React\Promise\RejectedPromise with a promise. Use React\Promise\reject($promiseOrValue) instead.');30 return new RejectedPromise($exception);32 return new RejectedPromise($exception);66 return new RejectedPromise($reason);
30 return new RejectedPromise($exception);32 return new RejectedPromise($exception);
58 $this->promise = new RejectedPromise($exception);60 $this->promise = new RejectedPromise($exception);
78 return new RejectedPromise($reason);93 return new RejectedPromise($reason);156 $promise = new RejectedPromise(
62 return new RejectedPromise($value);66 return new RejectedPromise($promiseOrValue);
5 use React\Promise\RejectedPromise; alias 50 ? new RejectedPromise($this->error)
23 use GuzzleHttp\Promise\RejectedPromise; alias102 return new RejectedPromise($e);
46 return new RejectedPromise($reason);
11 class RejectedPromise implements PromiseInterface class
5 use GuzzleHttp\Promise\RejectedPromise; alias
6 use GuzzleHttp\Promise\RejectedPromise; alias
53 * Mark `FulfilledPromise`, `RejectedPromise` and `LazyPromise` as deprecated for Promise v2 (and remove for Promise v3).59 $rejected = new React\Promise\RejectedPromise($reason);206 * BC break: `FulfilledPromise` and `RejectedPromise` now throw an exception
34 * [RejectedPromise](#rejectedpromise)177 * [RejectedPromise](#rejectedpromise) (deprecated)229 * [RejectedPromise](#rejectedpromise) (deprecated)361 * [RejectedPromise](#rejectedpromise) (deprecated)423 ### RejectedPromise subsection 425 > Deprecated in v2.8.0: External usage of `RejectedPromise` is deprecated, use `reject()` instead.430 $promise = React\Promise\RejectedPromise($reason);
15 - [RejectedPromise](#rejectedpromise)71 with any value other than a `GuzzleHttp\Promise\RejectedPromise` will trigger162 `GuzzleHttp\Promise\RejectedPromise` in either an `$onFulfilled` or167 use GuzzleHttp\Promise\RejectedPromise;171 return new RejectedPromise($reason);369 ## RejectedPromise section in API375 use GuzzleHttp\Promise\RejectedPromise;377 $promise = new RejectedPromise('Error');
7 use GuzzleHttp\Promise\RejectedPromise; alias