If a promise for an intermediary call transitions to the rejected state, it should delegate control back to its parent, instead of calling errorHandler itself.
Otherwise we could have parent promises resolve to undefined while some intermediary call breaks the call chain and handles the error.
If a promise for an intermediary call transitions to the rejected state, it should delegate control back to its parent, instead of calling errorHandler itself.
Otherwise we could have parent promises resolve to undefined while some intermediary call breaks the call chain and handles the error.