1 min readAug 31, 2020
Kotlin is a general-purpose language, designed to be well-fit for all kinds of software, including very large multi-million-LOC systems, where you simply cannot afford to have any kind of “fatal” error concept that brings down the whole system without a sane way to handle it. Just imagine what would happen if IntelliJ IDEA was crashing from time to time similarly to XCode because of some programming error in one of the plugins. So, the answer is no — there is no option to adopt a Swift-like error-handling approach in Kotlin.