tryOr

inline fun <T> tryOr(default: T, closure: () -> T): T

Returns the result of the given closure, or default if an Exception was raised.