abstract fun completeExceptionally(ex: Throwable): Boolean
(source)
Complete this result with the given exception.
ex
- The exception to complete this result with.
Return
true
if this invocation caused this result to transition to a completed state, else false
.