com.r3corda.core.testing / rootCauseExceptions

rootCauseExceptions

inline fun <R> rootCauseExceptions(body: () -> R): R

If an exception is thrown by the body, rethrows the root cause exception.