2 ms·
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] th
by benol 7y ago
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-catching.html#runcatching https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/run-catc...