Nikky
03/26/2022, 8:29 PMjava.net.ConnectException
in common code?
i cannot define a expect class ConnectException: Exception
because that extends kotlin.Exception
and not the java exception type..
and without that i cannot catch it..
event catch)e: Throwable)
in common code does not catch itBig Chungus
03/26/2022, 8:58 PMandylamax
03/27/2022, 5:22 AMkotlin.Exception
is a typealias to java Exception
when targeting jvm.
So, your expect/actual
should just work