3 ms·
using RunCatching is inadvisable, it catches too much and can break lots of things in hard to detect ways https://github.com/sksamuel/tabby/blob/0fa37638712efd
by bedobi 2y ago
using RunCatching is inadvisable, it catches too much and can break lots of things in hard to detect ways
https://github.com/sksamuel/tabby/blob/0fa37638712efd6b059f280f95a8a2f87c95af89/tabby-fp/src/main/kotlin/com/sksamuel/tabby/results/catching.kt#L9 https://github.com/sksamuel/tabby/blob/0fa37638712efd6b059f2...
(though I recommend using the Arrow library, it has great types for fixing all the countless foot guns Kotlin devs insist on adding to the language and native libraries)