title: How to handle error responses from in any step of a completable future chain?
body: <p>I've got a chain of completable futures, each of them making an API call, depending on the previous result. I am trying to understand how to process error responses in each chain. If any step gives me an HTTP error, say bad request, I should break the chain and show the error message. I am thinking of throwing a runtime exception in case an error comes up, and then append exceptionally() at the end of the CF chain. Is there a better way of doing it? Can I avoid throwing exceptions in case of failure responses?</p>