Can I catch RuntimeExeption from @Throws kotlin fu...
# kotlin-native
y
Can I catch RuntimeExeption from @Throws kotlin function in Swift in the future?
t
Only checked exceptions are supported now.
y
Yes. I’m glad if it is supported in the future. But, I’m not sure it is possible
s
Current behaviour is intentional.
RuntimeException
is equivalent to Swift fatal errors (e.g. thrown in cases like index out of bound, null pointer errors etc.).
y
i understand. Thank you 🙏