tryOrNull

inline fun <T> tryOrNull(closure: () -> T): T?

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