but I'm not sure how to apply it for "project" in general...
the exception is not from 3rd party (cocoalib) dependency
p
Pamela Hill
02/25/2024, 9:29 PM
Basically, the article says to add @Throws to your functions that possibly could throw this exception if it's a Kotlin exception. Exceptions are like errors in Swift, you can't recover from them and causes a program termination. So the exception/error concept is flipped in Kotlin/Swift.