Lines Matching refs:onRejected
43 `$onFulfilled` followed by an optional `$onRejected` function.
55 // $onRejected
73 will reject the promise and trigger the `$onRejected` callbacks).
128 When a promise is rejected, the `$onRejected` callbacks are invoked with the
145 If an exception is thrown in an `$onRejected` callback, subsequent
146 `$onRejected` callbacks are invoked with the thrown exception as the reason.
163 `$onRejected` callback.
179 If an exception is not thrown in a `$onRejected` callback and the callback
181 invoked using the value returned from the `$onRejected` callback.
315 - `then(callable $onFulfilled, callable $onRejected) : PromiseInterface`
319 - `otherwise(callable $onRejected) : PromiseInterface`