com.r3corda.core / catch

catch

inline fun <T> <ERROR CLASS><T>.catch(block: () -> T): Unit

Executes the given block and sets the future to either the result, or any exception that was thrown.