docs
4.12
customSourceSet
docs
/
net.corda.core.internal.concurrent
/
doOnError
do
On
Error
fun
<
RESULT
>
CordaFuture
<
out
RESULT
>
.
doOnError
(
accept
:
(
Throwable
)
->
Unit
)
:
CordaFuture
<
RESULT
>
Returns a future that will also apply the passed closure on an error.