runCatching

inline fun <T, R> T.runCatching(block: T.() -> R): Result<R>