Assertion: promise | /r/CapableOf | become in either handler
Facets:
Source sentences:
text: That is, if you write aFunctionThatDoesNotExist() in either handler, your promise becomes rejected and that error will bubble up the chain to the nearest rejection handler just as if you had written throw new Error("bad data") .