Is there any way to catch exceptions that are thro...
# ios
c
Is there any way to catch exceptions that are thrown by a Kotlin/Native common layer? Someone already asked this question at https://discuss.kotlinlang.org/t/exception-handling-in-ios-framework/6163 but did not get an answer, and when I tried with Swift the compiler issued warnings because the method signatures do not suggest that there might be exceptions. I guess I am out of luck since there is no
Copy code
throws
declaration in Kotlin, so there is also no way for the interop tool to generate those idiomatic
Copy code
error:(NSError **)error
arguments. Can anyone confirm or falsify this?