Assertion: promise | /r/CapableOf | throw error
Facets:
Source sentences:
text: throws an error, the promise returned by then gets rejected with the thrown error as its value.
text: The final handler gets called, with no arguments, when the promise returned by getInputPromise() either returns a value or throws an error.