https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
d

Djuro

03/15/2024, 9:23 AM
Hello everyone, hope you are all doing well. How do you go on with exception handling? For example
java.net.UnknownHostException
is thrown on Android when
io.ktor.client.engine.darwing.DarwingRequestException
is thrown on iOS I was thinking on making mappers and then re-throwing. What's the best practice in this case in your opinion?