Why isn’t there a common “Throws” annotation? As I...
# multiplatform
s
Why isn’t there a common “Throws” annotation? As I see it correctly, Kotlin/Native has a Throws and Kotlin/JVM has Throws. Only the JS world don’t have it. But this could be a simply annotation which simply does nothing, right? Or are there any other concerns why it should not be available in common?
a
It's planned to commonize
@Throws
in 1.4: https://youtrack.jetbrains.com/issue/KT-34848
👍 1