André Martins
05/15/2023, 1:41 PM<http://httpClient.post|httpClient.post>(...)
) may throw some exceptions that are checked in java. Instead of annotating all my functions with @Throws
wanted to understand if it would make sense to use a response exception handler and wrap all checked exceptions into RuntimeException
s. What are your opinions? Thanks in advance đŸ˜„sindrenm
05/15/2023, 3:45 PMEither<ApiError, T>
. (Either
comes from #arrow.) That works great for us. And both Ktor and Arrow are multiplatform, so there are options for other platforms to hook into it, too, although I doubt it'll happen anytime soon in our case. đŸ˜…AndrĂ© Martins
05/17/2023, 9:44 AM