Hi everyone, can anyone help me? If I throw except...
# kotlin-native
z
Hi everyone, can anyone help me? If I throw exception in kotlin/native library. How can I handle exception in C code?
a
To handle an exception, you got to provide a handler in your library. Check this (https://github.com/JetBrains/kotlin-native/blob/ab29d5e073575cc1e24dd99ecd2e51bdbeb92ae5/backend.native/tests/produce_dynamic/simple/hello.kt#L102) as an example. C code lies in the same directory
z
thanks