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 - The exception.

Return
A failed result.