Comment Comment by benol It's worth pointing out that Kotlin's standard library contains a type called `Result` with a slightly different API. Also a function called `runCatching`[1] that uses it.[1] https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/run-catc... parent benol 6 years ago
[1] https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/run-catc...