ribesg02/19/2019, 9:53 AM
nestserau02/19/2019, 12:32 PM
ribesg02/19/2019, 12:54 PM
Tobi02/19/2019, 1:18 PM
The interoperability should handle that for you.
So if Swift or Objective-C code calls a Kotlin method which throws an exception to be handled, then the Kotlin method should be marked with a @Throws annotation. In this case all Kotlin exceptions (except for instances of Error, RuntimeException and subclasses) are translated into a Swift error/NSError.
ribesg02/19/2019, 3:29 PM
parameter and calls a function taking a
. I’m not talking about automatic thrown error translation
Stefan Oltmann07/26/2021, 2:25 PM
Matthias Geisler07/30/2021, 7:50 PM