Kotlin 1.7 says that it doesn’t allow exceptions to cross the objc bridge now. Isn’t this a bad thing?
If I provide a Kotlin native library that makes a network call and it gets an HTTP Exception, I can no longer allow the calling code to handle the exception? Is that correct?
l
Landry Norris
06/09/2022, 9:31 PM
It looks like the Throws annotation still works as before. You just have to make sure to add the annotation to your Kotlin method.