Lines Matching refs:throw
241 It will cause a fatal error if either `$onFulfilled` or `$onRejected` throw or
376 // or throw new Exception('Promise rejected');
386 throw new Exception('Promise cancelled');
401 just throw an exception instead of using `$reject()`.
404 If the resolver or canceller throw an exception, the promise will be rejected
690 throw new \Exception($x + 1);
694 throw $x;
722 throw new \Exception($x + 1);
749 handlers do not throw exceptions.
806 throw new ApiErrorException($object->errorMessage);
821 // Here we provide a rejection handler which will either throw while debugging
830 throw $exception;