tuweni / org.apache.tuweni.concurrent / AsyncCompletion / exceptional

exceptional

open static fun exceptional(ex: Throwable!): AsyncCompletion! (source)

Return an already failed completion, caused by the given exception.

Parameters

ex - Throwable!: The exception.

Return
AsyncCompletion!: A failed result.