Kartik Prakash
08/18/2021, 1:40 PM@Throws
annotation and handle the error on the native platform side. For example I have function in kotlin native that can throw SocketTimeoutException
, Is there anyway to handle it on the iOS side without adding the @Throws
annotation on my function?mkrussel
08/18/2021, 1:55 PMResult
instead of throwing an exception.Kartik Prakash
08/18/2021, 1:58 PMunhandledExceptionHook
before?
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/set-unhandled-exception-hook.htmlmkrussel
08/18/2021, 2:13 PMKartik Prakash
08/18/2021, 2:15 PM