corda / net.corda.core.utilities / Try
sealed class Try<out A>
Representation of an operation that has either succeeded with a result (represented by Success) or failed with an
exception (represented by Failure).
Companion Object Functions
fun <T> on(body: () -> T): Try<T>
Executes the given block of code and returns a Success capturing the result, or a Failure if an exception
fun Any.contextLogger(): Logger
When called from a companion object, returns the logger for the enclosing class.