Jeff
06/13/2023, 1:10 AMkotlin.Result
Pablichjenkov
06/13/2023, 1:28 AM2
but I would prefer my own Result sealed class. That could be Success(data) and Error(ErrorInfo)/Error (Throwable)Kirill Zhukov
06/13/2023, 1:47 AMKirill Zhukov
06/13/2023, 1:48 AMKirill Zhukov
06/13/2023, 1:49 AMkotlin.Result
is kinda half baked, not too great… Plus runCatching: Result
is bad for using with coroutines cause it swallows cancellation exceptionsJeff
06/13/2023, 9:28 AMJeff
06/13/2023, 9:29 AMkqr
06/13/2023, 4:03 PMPablichjenkov
06/13/2023, 4:08 PM