java.util.concurrent.CompletionStage#exceptionally
expects a function that returns a value, but what if I just want a Consumer
for a Throwable
like java.util.concurrent.CompletionStage#thenAccept
for successful executions?
EDIT: To be clear, I know about whenComplete
but that does not "take a Consumer
for a Throwable
like java.util.concurrent.CompletionStage#thenAccept
".