corda / net.corda.core.utilities / Try / throwError

throwError

fun throwError(): Try<A>

If this is a Failure wrapping an Error then throw it, otherwise return this for chaining.