by dtech · 2y ago · 0 comments
Try is a bit better and Kotlin has a bit of that with Result + runCatching. You can find a pretty good overview of the Kotlin error handling phylosphy here [1]
[1] https://github.com/Kotlin/KEEP/blob/master/proposals/stdlib/...