Lines Matching refs:exception
202 the thrown exception if either throws.
292 rejected promise, `$newPromise` will reject with the thrown exception or
297 rejected promise, `$newPromise` will reject with the thrown exception or
385 // Reject promise by throwing an exception
401 just throw an exception instead of using `$reject()`.
404 If the resolver or canceller throw an exception, the promise will be rejected
405 with that thrown exception as the rejection reason.
505 throwing an exception. For example, it allows you to propagate a rejection with
679 When you catch an exception, you must rethrow for it to propagate.
747 If your progress handler throws an exception, the exception will be propagated
790 error (either a thrown exception or returned rejection) escapes the
803 // Transform API errors to an exception
822 // or log the exception
828 function (ApiErrorException $exception) {
830 throw $exception;
832 logException($exception);
839 wrapped in an exception of the type `React\Promise\UnhandledRejectionException`.
841 You can get the original rejection reason by calling `$exception->getReason()`.